For PR1043:
[oota-llvm.git] / test / Assembler / 2007-01-02-Undefined-Arg-Type.ll
1 ; The assembler should catch an undefined argument type .
2 ; RUN: llvm-as < %s -o /dev/null -f 2>&1 | grep "Reference to abstract argument"
3
4 ; %typedef.bc_struct = type opaque
5
6 implementation   ; Functions:
7
8 define i1 %someFunc(i32* %tmp.71.reload, %typedef.bc_struct* %n1) {
9         ret i1 true
10 }