Fix PR1645 by resolving forward alias references.
[oota-llvm.git] / test / Assembler / 2007-09-10-AliasFwdRef.ll
1 ; RUN: llvm-as < %s | llvm-dis
2 ; PR1645
3
4 @__gthread_active_ptr.5335 = internal constant i8* bitcast (i32 (i32)* @__gthrw_pthread_cancel to i8*)    
5 @__gthrw_pthread_cancel = alias weak i32 (i32)* @pthread_cancel   
6
7
8
9 declare extern_weak i32 @pthread_cancel(i32)