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

	%struct = type {  }

declare void @foo(...)

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