1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 11:02:59 +02:00
llvm-mirror/test/Assembler/2008-01-11-VarargAttrs.ll
Matt Arsenault 4bf7d5872e OpaquePtr: Bulk update tests to use typed byval
Upgrade of the IR text tests should be the only thing blocking making
typed byval mandatory. Partially done through regex and partially
manual.
2020-11-20 14:00:46 -05:00

12 lines
207 B
LLVM

; 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
}