aboutsummaryrefslogtreecommitdiffstats
path: root/test
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
parent2fa42a816dd655739beff8887d5c3d22f1ede751 (diff)
downloadexternal_llvm-22b1fa0ef279f090d4f36a57acdb288e8157cdb3.zip
external_llvm-22b1fa0ef279f090d4f36a57acdb288e8157cdb3.tar.gz
external_llvm-22b1fa0ef279f090d4f36a57acdb288e8157cdb3.tar.bz2
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')
-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 674341d..ae969af 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)