llvm-6502/test/Transforms/LevelRaise/2002-10-08-VarArgCall.ll
2003-06-28 23:02:20 +00:00

10 lines
187 B
LLVM

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