llvm-6502/test/Transforms/LevelRaise/2002-10-08-VarArgCall.ll
2006-12-02 04:23:10 +00:00

10 lines
212 B
LLVM

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