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

	%struct = type {  }

declare void @foo(...)

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