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

12 lines
202 B
LLVM
Raw Normal View History

2025-02-14 19:21:04 +01:00
; RUN: llvm-as < %s | llvm-dis | grep byval
; RUN: verify-uselistorder %s
%struct = type { }
declare void @foo(...)
define void @bar() {
call void (...) @foo(ptr byval(%struct) null )
ret void
}