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

11 lines
161 B
LLVM

; RUN: not llvm-as < %s >& /dev/null
%struct = type { }
declare void @foo(...)
define void @bar() {
call void (...)* @foo(%struct* sret null )
ret void
}