Reject alias to undefined symbols in the verifier.
[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 define weak i32 @pthread_cancel(i32) {
10   ret i32 0
11 }