2007-04-16 02:11:57 +08:00
|
|
|
; Linking a module with a specified pointer size to one without a
|
2003-08-25 03:23:31 +08:00
|
|
|
; specified pointer size should not cause a warning!
|
|
|
|
|
2003-09-27 04:20:44 +08:00
|
|
|
; RUN: llvm-as < %s > %t.out1.bc
|
2007-04-16 02:11:57 +08:00
|
|
|
; RUN: echo {} | llvm-as > %t.out2.bc
|
|
|
|
; RUN: llvm-link %t.out1.bc %t.out2.bc |& not grep warning
|
2003-08-25 03:23:31 +08:00
|
|
|
|
2007-04-16 02:11:57 +08:00
|
|
|
target datalayout = "e-p:64:64"
|
2003-08-25 03:23:31 +08:00
|
|
|
|