xref: /aosp_15_r20/external/llvm/test/Linker/2008-07-06-AliasFnDecl.ll (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker; PR2146
2*9880d681SAndroid Build Coastguard Worker; RUN: llvm-as %s -o %t1.bc
3*9880d681SAndroid Build Coastguard Worker; RUN: llvm-as %p/2008-07-06-AliasFnDecl2.ll -o %t2.bc
4*9880d681SAndroid Build Coastguard Worker; RUN: llvm-link %t1.bc %t2.bc -o %t3.bc
5*9880d681SAndroid Build Coastguard Worker
6*9880d681SAndroid Build Coastguard Worker@b = alias void (), void ()* @a
7*9880d681SAndroid Build Coastguard Worker
8*9880d681SAndroid Build Coastguard Workerdefine void @a() nounwind  {
9*9880d681SAndroid Build Coastguard Workerentry:
10*9880d681SAndroid Build Coastguard Worker	br label %return
11*9880d681SAndroid Build Coastguard Worker
12*9880d681SAndroid Build Coastguard Workerreturn:
13*9880d681SAndroid Build Coastguard Worker	ret void
14*9880d681SAndroid Build Coastguard Worker}
15