aboutsummaryrefslogtreecommitdiff
path: root/test/Transforms/GlobalOpt/2009-03-06-Anonymous.ll
blob: 2750845263b19e861871c730790115a4fae38329 (plain)
1
2
3
4
5
6
7
8
9
10
11
; RUN: opt %s -globalopt | llvm-dis | grep internal | count 2

global i32 0
define i32* @1() {
	ret i32* @0
}
define i32* @f() {
entry:
	call i32* @1()
	ret i32* %0
}