1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-31 16:02:52 +01:00
llvm-mirror/test/Transforms/GlobalOpt/2009-03-06-Anonymous.ll
2009-09-08 22:34:10 +00:00

12 lines
159 B
LLVM

; RUN: opt %s -globalopt -S | grep internal | count 2
global i32 0
define i32* @1() {
ret i32* @0
}
define i32* @f() {
entry:
call i32* @1()
ret i32* %0
}