Add test for new zeroinitializer token
authorChris Lattner <sabre@nondot.org>
Sat, 28 Jun 2003 20:01:03 +0000 (20:01 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 28 Jun 2003 20:01:03 +0000 (20:01 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6936 91177308-0d34-0410-b5e6-96231b3b80d8

test/Feature/globalvars.ll

index 674341d64b219fa3304e8ea26ddc34abfa5fe3b5..ae969af8ec32a750afb8f75e37f71c690c67d66e 100644 (file)
@@ -7,6 +7,9 @@
 
 %AString   = constant [4 x ubyte] c"test"
 
+%ZeroInit  = global { [100 x int ], [40 x float ] } { [100 x int] zeroinitializer,
+                                                      [40  x float] zeroinitializer }
+
 implementation
 
 int "foo"(int %blah)