12 lines
161 B
LLVM
12 lines
161 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
|
|
}
|