llvm-6502/test/Transforms/LevelRaise/2002-10-08-VarArgCall.ll
2003-09-16 15:29:54 +00:00

10 lines
197 B
LLVM

; RUN: llvm-as < %s | 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
}