llvm-for-llvmta/test/Linker/2003-08-24-InheritPtrSize.ll

11 lines
307 B
LLVM
Raw Permalink Normal View History

2022-04-25 10:02:23 +02:00
; Linking a module with a specified pointer size to one without a
; 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 2>&1 | FileCheck %s
; CHECK-NOT: warning
target datalayout = "e-p:64:64"