llvm-for-llvmta/test/Verifier/2008-01-11-VarargAttrs.ll

11 lines
172 B
LLVM
Raw Permalink Normal View History

2022-04-25 10:02:23 +02:00
; RUN: not llvm-as < %s > /dev/null 2>&1
%struct = type { }
declare void @foo(...)
define void @bar() {
call void (...) @foo(%struct* sret(%struct) null )
ret void
}