summaryrefslogtreecommitdiff
path: root/llvm/test/Assembler/2008-01-11-VarargAttrs.ll
blob: 04993eb661d120687f6f595a5b5caf42303625b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
; RUN: llvm-as < %s | llvm-dis | grep byval
; RUN: verify-uselistorder %s

	%struct = type {  }

declare void @foo(...)

define void @bar() {
	call void (...) @foo(ptr byval(%struct) null )
	ret void
}