llvm-6502/test/Transforms/LevelRaise/2003-02-13-CallRaise.ll

10 lines
136 B
LLVM
Raw Normal View History

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