mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-29 06:52:55 +01:00
10 lines
136 B
LLVM
10 lines
136 B
LLVM
|
; RUN: as < %s | opt -raise
|
||
|
|
||
|
declare void %foo()
|
||
|
|
||
|
void %test() {
|
||
|
%X = cast void()* %foo to int()*
|
||
|
%retval = call int %X()
|
||
|
ret void
|
||
|
}
|