projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Revert r198208 and reapply:
[oota-llvm.git]
/
test
/
Linker
/
2004-12-03-DisagreeingType.ll
diff --git
a/test/Linker/2004-12-03-DisagreeingType.ll
b/test/Linker/2004-12-03-DisagreeingType.ll
index 9849e0c1fe527eb88789ed876dd93304fbbda318..63e15299252dbd1c8546dd8fe4ecfcdbfd9ce44c 100644
(file)
--- a/
test/Linker/2004-12-03-DisagreeingType.ll
+++ b/
test/Linker/2004-12-03-DisagreeingType.ll
@@
-1,8
+1,10
@@
-; RUN: echo "%G = weak global {{{{double}}}} zeroinitializer" | llvm-as > %t.out2.bc
+; RUN: echo "@G = weak global {{{{double}}}} zeroinitializer " | \
+; RUN: llvm-as > %t.out2.bc
; RUN: llvm-as < %s > %t.out1.bc
; RUN: llvm-as < %s > %t.out1.bc
-; RUN: llvm-link %t.out[12].bc | llvm-dis | not grep '\}'
+; RUN: llvm-link %t.out1.bc %t.out2.bc -S | FileCheck %s
+; CHECK-NOT: }
; When linked, the global above should be eliminated, being merged with the
; global below.
; When linked, the global above should be eliminated, being merged with the
; global below.
-
%
G = global double 1.0
+
@
G = global double 1.0