llvm-6502/test/Transforms/LevelRaise/2002-10-08-VarArgCall.ll

10 lines
212 B
LLVM
Raw Normal View History

; RUN: llvm-upgrade < %s | llvm-as | opt -raise | llvm-dis | grep call | not grep '\.\.\.'
implementation
void %test(sbyte* %P) {
%Q = cast sbyte* %P to void (...)*
call void (...)* %Q(sbyte* %P)
ret void
}