1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-29 23:12:55 +01:00
llvm-mirror/test/Regression/CodeGen/CBackend/2003-10-23-ZeroArgVarargs.ll
2006-12-02 04:23:10 +00:00

13 lines
230 B
LLVM

; XFAIL: *
; RUN: llvm-upgrade < %s | llvm-as | llc -march=c
declare sbyte* %llvm.va_start()
declare void %llvm.va_end(sbyte*)
void %test(...) {
%P = call sbyte* %llvm.va_start()
call void %llvm.va_end(sbyte* %P)
ret void
}