summaryrefslogtreecommitdiff
path: root/test/Assembler/2007-01-02-Undefined-Arg-Type.ll
blob: 96e6d6c4e981dd6b1484634b29fff5d8b40493ca (plain)
1
2
3
4
5
6
7
8
9
10
; 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

implementation   ; Functions:

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