YouCompleteMe/cpp/llvm/test/Assembler/2008-01-11-VarargAttrs.ll

11 lines
169 B
LLVM
Raw Normal View History

2012-07-05 20:51:06 -04:00
; RUN: llvm-as < %s | llvm-dis | grep byval
%struct = type { }
declare void @foo(...)
define void @bar() {
call void (...)* @foo(%struct* byval null )
ret void
}