mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 04:02:41 +01:00
3db4fdda61
Patch by Brad Moody. Thanks Brad! https://reviews.llvm.org/D42160 llvm-svn: 333217
15 lines
190 B
LLVM
15 lines
190 B
LLVM
; RUN: %lli -force-interpreter %s
|
|
|
|
define i32 @func() {
|
|
entry:
|
|
ret i32 0
|
|
}
|
|
|
|
@alias = alias i32 (), i32 ()* @func
|
|
|
|
define i32 @main() {
|
|
entry:
|
|
%call = call i32 @alias()
|
|
ret i32 %call
|
|
}
|