blob: 882569b2f24e92edee72eb5840d00d2c2c0428f3 [file] [log] [blame]
Chris Lattnere5434242007-09-10 23:23:53 +00001; RUN: llvm-as < %s | llvm-dis
Duncan P. N. Exon Smith13f5c582014-08-19 21:08:27 +00002; RUN: verify-uselistorder %s
Chris Lattnere5434242007-09-10 23:23:53 +00003; PR1645
4
5@__gthread_active_ptr.5335 = internal constant i8* bitcast (i32 (i32)* @__gthrw_pthread_cancel to i8*)
David Blaikie21f77df2015-09-11 03:22:04 +00006@__gthrw_pthread_cancel = weak alias i32 (i32), i32 (i32)* @pthread_cancel
Chris Lattnere5434242007-09-10 23:23:53 +00007
8
9
Rafael Espindola38048cd2014-03-12 20:15:49 +000010define weak i32 @pthread_cancel(i32) {
11 ret i32 0
12}