Verify that attributes are not lost during linking.
[oota-llvm.git] / test / Linker / 2003-08-24-InheritPtrSize.ll
index a038a98ef3c3303862ed3dfae09dcca7ac64d7ef..dbaf9bc111b7531a089b19c23080b98e391a1cad 100644 (file)
@@ -1,9 +1,10 @@
-; Linking these a module with a specified pointer size to one without a 
+; Linking a module with a specified pointer size to one without a 
 ; specified pointer size should not cause a warning!
 
-; RUN: as < %s > Output/%s.out1.bc
-; RUN: echo "" | as > Output/%s.out2.bc
-; RUN: link Output/%s.out[12].bc 2>&1 | not grep WARNING
+; RUN: llvm-as < %s > %t.out1.bc
+; RUN: echo "" | llvm-as > %t.out2.bc
+; RUN: llvm-link %t.out1.bc %t.out2.bc 2>&1 | FileCheck %s 
+; CHECK-NOT: warning
 
-target pointersize = 64
+target datalayout = "e-p:64:64"