aboutsummaryrefslogtreecommitdiff
path: root/test/Linker/2003-04-23-LinkOnceLost.ll
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2006-12-29 20:01:32 +0000
committerReid Spencer <rspencer@reidspencer.com>2006-12-29 20:01:32 +0000
commit73e70822ae9dd03f092b1ae56c5fed6d39b7af3c (patch)
tree9ff920ffee2e9439e58174d13c0eadfaa3746ee6 /test/Linker/2003-04-23-LinkOnceLost.ll
parent0cc2bd12d22562acaeb3813250de2fcd30bd9e0e (diff)
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-04-23-LinkOnceLost.ll')
-rw-r--r--test/Linker/2003-04-23-LinkOnceLost.ll5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/Linker/2003-04-23-LinkOnceLost.ll b/test/Linker/2003-04-23-LinkOnceLost.ll
index add9981f16..3996cc40b7 100644
--- a/test/Linker/2003-04-23-LinkOnceLost.ll
+++ b/test/Linker/2003-04-23-LinkOnceLost.ll
@@ -1,8 +1,9 @@
; This fails because the linker renames the non-opaque type not the opaque
; one...
-; RUN: echo "implementation linkonce void %foo() { ret void } " | llvm-as > %t.2.bc
-; RUN: llvm-as < %s > %t.1.bc
+; RUN: echo "implementation linkonce void %foo() { ret void } " | llvm-upgrade|\
+; RUN: llvm-as -o %t.2.bc -f
+; RUN: llvm-upgrade < %s | llvm-as -o %t.1.bc -f
; RUN: llvm-link %t.[12].bc | llvm-dis | grep foo | grep linkonce
declare void %foo()