summaryrefslogtreecommitdiffstats
path: root/llvm/test/Feature/globalvars.ll
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2001-09-18 04:38:50 +0000
committerChris Lattner <sabre@nondot.org>2001-09-18 04:38:50 +0000
commit5751150169a687752d2b04f6cb3c13cf0436e645 (patch)
tree6eaccf6b4c2f680fa2b5d29054f397eccc6e5637 /llvm/test/Feature/globalvars.ll
parente2c8d43e1d565a1b0f39ecd6acc807c0206f0a7c (diff)
downloadbcm5719-llvm-5751150169a687752d2b04f6cb3c13cf0436e645.tar.gz
bcm5719-llvm-5751150169a687752d2b04f6cb3c13cf0436e645.zip
Fix testcases to handle new syntax for construction and initializeation
Test constants llvm-svn: 600
Diffstat (limited to 'llvm/test/Feature/globalvars.ll')
-rw-r--r--llvm/test/Feature/globalvars.ll8
1 files changed, 5 insertions, 3 deletions
diff --git a/llvm/test/Feature/globalvars.ll b/llvm/test/Feature/globalvars.ll
index ef3f336c9ee..b189dfc7541 100644
--- a/llvm/test/Feature/globalvars.ll
+++ b/llvm/test/Feature/globalvars.ll
@@ -1,7 +1,9 @@
-global %MyVar = int *
-global %MyIntList = { \2 *, int } *
-global int * ; int*:0
+%MyVar = uninitialized global int
+%MyIntList = uninitialized global { \2 *, int }
+ uninitialized global int ; int*:0
+
+%AConst = constant int 123
implementation
OpenPOWER on IntegriCloud