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

12 lines
207 B
LLVM
Raw Normal View History

2022-04-25 10:02:23 +02:00
; RUN: llvm-as < %s | llvm-dis | grep byval
; RUN: verify-uselistorder %s
%struct = type { }
declare void @foo(...)
define void @bar() {
call void (...) @foo(%struct* byval(%struct) null )
ret void
}