xref: /aosp_15_r20/external/llvm/test/Linker/LinkOnce.ll (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker; This fails because the linker renames the non-opaque type not the opaque
2*9880d681SAndroid Build Coastguard Worker; one...
3*9880d681SAndroid Build Coastguard Worker
4*9880d681SAndroid Build Coastguard Worker; RUN: echo "@X = linkonce global i32 8" | llvm-as > %t.2.bc
5*9880d681SAndroid Build Coastguard Worker; RUN: llvm-as < %s > %t.1.bc
6*9880d681SAndroid Build Coastguard Worker; RUN: llvm-link %t.1.bc %t.2.bc -S
7*9880d681SAndroid Build Coastguard Worker
8*9880d681SAndroid Build Coastguard Worker@X = linkonce global i32 7		; <i32*> [#uses=0]
9