llvm-project/llvm/test/Linker/2003-08-24-InheritPtrSize.ll

10 lines
285 B
LLVM
Raw Normal View History

; 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!
; RUN: llvm-as < %s > %t.out1.bc
; 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
target datalayout = "e-p:64:64"
2003-08-25 03:23:31 +08:00