llvm-6502/test/Transforms/LevelRaise/2003-02-13-CallRaise.ll
2003-09-16 15:29:54 +00:00

10 lines
141 B
LLVM

; RUN: llvm-as < %s | opt -raise
declare void %foo()
void %test() {
%X = cast void()* %foo to int()*
%retval = call int %X()
ret void
}