summaryrefslogtreecommitdiff
path: root/test/Feature/globalvars.ll
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-06-28 20:01:03 +0000
committerChris Lattner <sabre@nondot.org>2003-06-28 20:01:03 +0000
commit22b1fa0ef279f090d4f36a57acdb288e8157cdb3 (patch)
tree7987bc285eab57091b5aae50a6e40df759d4c25a /test/Feature/globalvars.ll
parent2fa42a816dd655739beff8887d5c3d22f1ede751 (diff)
downloadllvm-22b1fa0ef279f090d4f36a57acdb288e8157cdb3.tar.gz
llvm-22b1fa0ef279f090d4f36a57acdb288e8157cdb3.tar.bz2
llvm-22b1fa0ef279f090d4f36a57acdb288e8157cdb3.tar.xz
Add test for new zeroinitializer token
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6936 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Feature/globalvars.ll')
-rw-r--r--test/Feature/globalvars.ll3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/Feature/globalvars.ll b/test/Feature/globalvars.ll
index 674341d64b..ae969af8ec 100644
--- a/test/Feature/globalvars.ll
+++ b/test/Feature/globalvars.ll
@@ -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)