[llvm] r254210 - Modernize the test a bit
Rafael Espindola via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 27 15:13:17 PST 2015
Author: rafael
Date: Fri Nov 27 17:13:17 2015
New Revision: 254210
URL: http://llvm.org/viewvc/llvm-project?rev=254210&view=rev
Log:
Modernize the test a bit
Remove out of date comment.
Pass .ll files to llvm-link.
Modified:
llvm/trunk/test/Linker/2003-04-23-LinkOnceLost.ll
Modified: llvm/trunk/test/Linker/2003-04-23-LinkOnceLost.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Linker/2003-04-23-LinkOnceLost.ll?rev=254210&r1=254209&r2=254210&view=diff
==============================================================================
--- llvm/trunk/test/Linker/2003-04-23-LinkOnceLost.ll (original)
+++ llvm/trunk/test/Linker/2003-04-23-LinkOnceLost.ll Fri Nov 27 17:13:17 2015
@@ -1,10 +1,5 @@
-; This fails because the linker renames the non-opaque type not the opaque
-; one...
-
-; RUN: echo " define linkonce void @foo() { ret void } " | \
-; RUN: llvm-as -o %t.2.bc
-; RUN: llvm-as %s -o %t.1.bc
-; RUN: llvm-link %t.1.bc %t.2.bc -S | FileCheck %s
+; RUN: echo " define linkonce void @foo() { ret void } " > %t.ll
+; RUN: llvm-link %s %t.ll -S | FileCheck %s
; CHECK: linkonce{{.*}}foo
declare void @foo()
More information about the llvm-commits
mailing list