YouCompleteMe/cpp/llvm/test/Assembler/2008-01-11-VarargAttrs.ll
2012-07-05 17:51:06 -07:00

11 lines
169 B
LLVM

; RUN: llvm-as < %s | llvm-dis | grep byval
%struct = type { }
declare void @foo(...)
define void @bar() {
call void (...)* @foo(%struct* byval null )
ret void
}