xref: /aosp_15_r20/external/llvm/test/Assembler/2007-09-10-AliasFwdRef.ll (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker; RUN: llvm-as < %s | llvm-dis
2*9880d681SAndroid Build Coastguard Worker; RUN: verify-uselistorder %s
3*9880d681SAndroid Build Coastguard Worker; PR1645
4*9880d681SAndroid Build Coastguard Worker
5*9880d681SAndroid Build Coastguard Worker@__gthread_active_ptr.5335 = internal constant i8* bitcast (i32 (i32)* @__gthrw_pthread_cancel to i8*)
6*9880d681SAndroid Build Coastguard Worker@__gthrw_pthread_cancel = weak alias i32 (i32), i32 (i32)* @pthread_cancel
7*9880d681SAndroid Build Coastguard Worker
8*9880d681SAndroid Build Coastguard Worker
9*9880d681SAndroid Build Coastguard Worker
10*9880d681SAndroid Build Coastguard Workerdefine weak i32 @pthread_cancel(i32) {
11*9880d681SAndroid Build Coastguard Worker  ret i32 0
12*9880d681SAndroid Build Coastguard Worker}
13