diff options
author | Dan Gohman <gohman@apple.com> | 2009-09-15 15:38:31 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2009-09-15 15:38:31 +0000 |
commit | 5efe566d9e3dce1e2ca5767922849ecb6842cb2a (patch) | |
tree | 655d0fb64c714b6726daabe9f98765df39b89187 /test/Linker/2003-08-23-GlobalVarLinking.ll | |
parent | a93f30ee65e2fa48c8caff7d5c3052559b0829fb (diff) | |
download | llvm-5efe566d9e3dce1e2ca5767922849ecb6842cb2a.tar.gz llvm-5efe566d9e3dce1e2ca5767922849ecb6842cb2a.tar.bz2 llvm-5efe566d9e3dce1e2ca5767922849ecb6842cb2a.tar.xz |
Use llvm-link -S instead of using llvm-dis.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81860 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 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Linker/2003-08-23-GlobalVarLinking.ll b/test/Linker/2003-08-23-GlobalVarLinking.ll index fd36d0422a..c3f61f8934 100644 --- a/test/Linker/2003-08-23-GlobalVarLinking.ll +++ b/test/Linker/2003-08-23-GlobalVarLinking.ll @@ -1,7 +1,7 @@ ; RUN: llvm-as < %s > %t.out1.bc ; RUN: echo {@S = external global \{ i32, opaque* \} declare void @F(opaque*)}\ ; RUN: | llvm-as > %t.out2.bc -; RUN: llvm-link %t.out1.bc %t.out2.bc | llvm-dis | not grep opaque +; RUN: llvm-link %t.out1.bc %t.out2.bc -S | 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'. |