diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2006-12-29 20:01:32 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2006-12-29 20:01:32 +0000 |
commit | 73e70822ae9dd03f092b1ae56c5fed6d39b7af3c (patch) | |
tree | 9ff920ffee2e9439e58174d13c0eadfaa3746ee6 /test/Linker/2003-01-30-LinkerRename.ll | |
parent | 0cc2bd12d22562acaeb3813250de2fcd30bd9e0e (diff) | |
download | external_llvm-73e70822ae9dd03f092b1ae56c5fed6d39b7af3c.zip external_llvm-73e70822ae9dd03f092b1ae56c5fed6d39b7af3c.tar.gz external_llvm-73e70822ae9dd03f092b1ae56c5fed6d39b7af3c.tar.bz2 |
Update tests that need to be run through llvm-upgrade. This is necessary
for upcoming changes to the llvm assembly grammar.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32768 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Linker/2003-01-30-LinkerRename.ll')
-rw-r--r-- | test/Linker/2003-01-30-LinkerRename.ll | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/Linker/2003-01-30-LinkerRename.ll b/test/Linker/2003-01-30-LinkerRename.ll index cf9c4ae..724a2a8 100644 --- a/test/Linker/2003-01-30-LinkerRename.ll +++ b/test/Linker/2003-01-30-LinkerRename.ll @@ -1,8 +1,9 @@ ; This fails because the linker renames the external symbol not the internal ; one... -; RUN: echo "implementation internal int %foo() { ret int 7 }" | llvm-as > %t.1.bc -; RUN: llvm-as < %s > %t.2.bc +; RUN: echo "implementation internal int %foo() { ret int 7 }" | llvm-upgrade |\ +; RUN: llvm-as > %t.1.bc +; RUN: llvm-upgrade < %s | llvm-as -o %t.2.bc -f ; RUN: llvm-link %t.[12].bc | llvm-dis | grep '%foo()' | grep -v internal implementation |