aboutsummaryrefslogtreecommitdiffstats
path: root/test/Verifier/2008-01-11-VarargAttrs.ll
blob: b6ce6251cfc6c9b3c75f3cf3858ae2c9c51ab0c8 (plain)
1
2
3
4
5
6
7
8
9
10
; RUN: not llvm-as < %s >& /dev/null

	%struct = type {  }

declare void @foo(...)

define void @bar() {
	call void (...)* @foo(%struct* sret null )
	ret void
}