a0542ee001373e2a9b20e2eff230f7a6ec6abc2d
[oota-llvm.git] / 2007-01-02-Undefined-Arg-Type.ll
1 ; The assembler should catch an undefined argument type .
2 ; RUN: not llvm-as %s -o /dev/null 2>&1 | FileCheck %s
3
4 ; CHECK: use of undefined type named 'typedef.bc_struct'
5
6 ; %typedef.bc_struct = type opaque
7
8
9 define i1 @someFunc(i32* %tmp.71.reload, %typedef.bc_struct* %n1) {
10         ret i1 true
11 }