Modernize the test a bit

Remove out of date comment.
Pass .ll files to llvm-link.

llvm-svn: 254210
This commit is contained in:
Rafael Espindola 2015-11-27 23:13:17 +00:00
parent 19b52383c5
commit 138f895655
1 changed files with 2 additions and 7 deletions

View File

@ -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()