12 lines · plain
1; The assembler should catch an undefined argument type .2; RUN: not llvm-as %s -o /dev/null 2>&1 | FileCheck %s3 4; CHECK: invalid type for function argument5 6; %typedef.bc_struct = type opaque7 8 9define i1 @someFunc(ptr %tmp.71.reload, %typedef.bc_struct %n1) {10 ret i1 true11}12