summaryrefslogtreecommitdiff
path: root/test/Linker/2005-02-12-ConstantGlobals-2.ll
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2007-04-15 18:11:57 +0000
committerReid Spencer <rspencer@reidspencer.com>2007-04-15 18:11:57 +0000
commitedca80b5e86363c6e4d5cfeedd6940d991355333 (patch)
tree7ad9627d022979aac2238fc48e005a3ff2104469 /test/Linker/2005-02-12-ConstantGlobals-2.ll
parentc3c65d09052483ef3571795b652e0d36aa9591b0 (diff)
downloadllvm-edca80b5e86363c6e4d5cfeedd6940d991355333.tar.gz
llvm-edca80b5e86363c6e4d5cfeedd6940d991355333.tar.bz2
llvm-edca80b5e86363c6e4d5cfeedd6940d991355333.tar.xz
For PR1319: Upgrade to new test harness
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36073 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Linker/2005-02-12-ConstantGlobals-2.ll')
-rw-r--r--test/Linker/2005-02-12-ConstantGlobals-2.ll8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/Linker/2005-02-12-ConstantGlobals-2.ll b/test/Linker/2005-02-12-ConstantGlobals-2.ll
index bf93ca871f..bedeb51069 100644
--- a/test/Linker/2005-02-12-ConstantGlobals-2.ll
+++ b/test/Linker/2005-02-12-ConstantGlobals-2.ll
@@ -1,8 +1,8 @@
; Test that a prototype can be marked const, and the definition is allowed
; to be nonconst.
-; RUN: echo "%X = external constant int" | llvm-upgrade | llvm-as > %t.2.bc
-; RUN: llvm-upgrade < %s | llvm-as > %t.1.bc
-; RUN: llvm-link %t.[12].bc | llvm-dis | grep 'global i32 7'
+; RUN: echo {@X = external constant i32} | llvm-as > %t.2.bc
+; RUN: llvm-as < %s > %t.1.bc
+; RUN: llvm-link %t.1.bc %t.2.bc | llvm-dis | grep {global i32 7}
-%X = global int 7
+@X = global i32 7