diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2007-04-15 18:11:57 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2007-04-15 18:11:57 +0000 |
commit | edca80b5e86363c6e4d5cfeedd6940d991355333 (patch) | |
tree | 7ad9627d022979aac2238fc48e005a3ff2104469 /test/Linker/ConstantGlobals3.ll | |
parent | c3c65d09052483ef3571795b652e0d36aa9591b0 (diff) | |
download | external_llvm-edca80b5e86363c6e4d5cfeedd6940d991355333.zip external_llvm-edca80b5e86363c6e4d5cfeedd6940d991355333.tar.gz external_llvm-edca80b5e86363c6e4d5cfeedd6940d991355333.tar.bz2 |
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/ConstantGlobals3.ll')
-rw-r--r-- | test/Linker/ConstantGlobals3.ll | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/Linker/ConstantGlobals3.ll b/test/Linker/ConstantGlobals3.ll index 9a84c3a..4435f2d 100644 --- a/test/Linker/ConstantGlobals3.ll +++ b/test/Linker/ConstantGlobals3.ll @@ -1,7 +1,8 @@ ; Test that appending linkage works correctly when arrays are the same size. -; RUN: echo "%X = external constant [1x int]" | llvm-upgrade | llvm-as > %t.2.bc +; RUN: echo {%X = external constant \[1 x int\] } | \ +; RUN: 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 constant +; RUN: llvm-link %t.1.bc %t.2.bc | llvm-dis | grep constant %X = uninitialized global [1 x int] |