aboutsummaryrefslogtreecommitdiffstats
path: root/test/Assembler/2007-01-02-Undefined-Arg-Type.ll
blob: 10eb96443ca4bcb805c09f285f73dc6672c487d0 (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
}