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/2003-08-23-GlobalVarLinking.ll | |
parent | c3c65d09052483ef3571795b652e0d36aa9591b0 (diff) | |
download | llvm-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/2003-08-23-GlobalVarLinking.ll')
-rw-r--r-- | test/Linker/2003-08-23-GlobalVarLinking.ll | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/Linker/2003-08-23-GlobalVarLinking.ll b/test/Linker/2003-08-23-GlobalVarLinking.ll index e249641be3..45d77745a2 100644 --- a/test/Linker/2003-08-23-GlobalVarLinking.ll +++ b/test/Linker/2003-08-23-GlobalVarLinking.ll @@ -1,6 +1,7 @@ ; RUN: llvm-upgrade < %s | llvm-as > %t.out1.bc -; RUN: echo "%S = external global { int, opaque* } declare void %F(opaque*)" | llvm-upgrade | llvm-as > %t.out2.bc -; RUN: llvm-link %t.out[12].bc | llvm-dis | not grep opaque +; RUN: echo {%S = external global \{ int, opaque* \} declare void %F(opaque*)}\ +; RUN: | llvm-upgrade | llvm-as > %t.out2.bc +; RUN: llvm-link %t.out1.bc %t.out2.bc | llvm-dis | not grep opaque ; After linking this testcase, there should be no opaque types left. The two ; S's should cause the opaque type to be resolved to 'int'. |