llvm-6502/test/Verifier/2008-01-11-VarargAttrs.ll

11 lines
159 B
LLVM

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