blob: 1d40c76bbad20f2d847759ac1225ec24f130df12 [file] [log] [blame]
; The assembler should catch an undefined argument type .
; RUN: not llvm-as %s -o /dev/null 2>&1 | FileCheck %s
; CHECK: invalid type for function argument
; %typedef.bc_struct = type opaque
define i1 @someFunc(ptr %tmp.71.reload, %typedef.bc_struct %n1) {
ret i1 true
}