Home | History | Annotate | Download | only in Assembler
      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 }
     12