projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[SystemZ] Add test missing from r186148
[oota-llvm.git]
/
test
/
Linker
/
2003-05-31-LinkerRename.ll
diff --git
a/test/Linker/2003-05-31-LinkerRename.ll
b/test/Linker/2003-05-31-LinkerRename.ll
index 498fc14b35380d83cce40335c81076848dab8e14..2e734beba6d96dab063753dd56d96c2db3d7cede 100644
(file)
--- a/
test/Linker/2003-05-31-LinkerRename.ll
+++ b/
test/Linker/2003-05-31-LinkerRename.ll
@@
-4,9
+4,10
@@
; the function name, we must rename the internal function to something that
; does not conflict.
; the function name, we must rename the internal function to something that
; does not conflict.
-; RUN: echo
{ define internal i32 @foo() \{ ret i32 7 \} }
| llvm-as > %t.1.bc
+; RUN: echo
" define internal i32 @foo() { ret i32 7 } "
| llvm-as > %t.1.bc
; RUN: llvm-as < %s > %t.2.bc
; RUN: llvm-as < %s > %t.2.bc
-; RUN: llvm-link %t.1.bc %t.2.bc -S | grep internal | not grep @foo(
+; RUN: llvm-link %t.1.bc %t.2.bc -S | FileCheck %s
+; CHECK: internal {{.*}} @foo{{[0-9]}}(
declare i32 @foo()
declare i32 @foo()