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