aboutsummaryrefslogtreecommitdiffstats
path: root/test/Assembler/2007-01-02-Undefined-Arg-Type.ll
blob: 8592a51927847517922a3c5006ff620edff1c140 (plain)
1
2
3
4
5
6
7
8
9
; The assembler should catch an undefined argument type .
; RUN: llvm-as < %s -o /dev/null -f 2>&1 | grep "Reference to abstract argument"

; %typedef.bc_struct = type opaque


define i1 @someFunc(i32* %tmp.71.reload, %typedef.bc_struct* %n1) {
	ret i1 true
}