xref: /aosp_15_r20/external/llvm/test/Linker/2003-08-24-InheritPtrSize.ll (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker; Linking a module with a specified pointer size to one without a
2*9880d681SAndroid Build Coastguard Worker; specified pointer size should not cause a warning!
3*9880d681SAndroid Build Coastguard Worker
4*9880d681SAndroid Build Coastguard Worker; RUN: llvm-as < %s > %t.out1.bc
5*9880d681SAndroid Build Coastguard Worker; RUN: echo "" | llvm-as > %t.out2.bc
6*9880d681SAndroid Build Coastguard Worker; RUN: llvm-link %t.out1.bc %t.out2.bc 2>&1 | FileCheck %s
7*9880d681SAndroid Build Coastguard Worker; CHECK-NOT: warning
8*9880d681SAndroid Build Coastguard Worker
9*9880d681SAndroid Build Coastguard Workertarget datalayout = "e-p:64:64"
10*9880d681SAndroid Build Coastguard Worker
11