bolt/deps/llvm-18.1.8/llvm/test/Verifier/2008-01-11-VarargAttrs.ll

11 lines
167 B
LLVM
Raw Normal View History

2025-02-14 19:21:04 +01:00
; RUN: not llvm-as < %s > /dev/null 2>&1
%struct = type { }
declare void @foo(...)
define void @bar() {
call void (...) @foo(ptr sret(%struct) null )
ret void
}