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