aboutsummaryrefslogtreecommitdiffstats
path: root/test/Transforms/GlobalOpt/2009-02-15-ResolveAlias.ll
blob: 5e639fd8222e9c9e531d99d6e4347efd1a91cfd8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
; RUN: opt < %s -globalopt -S | grep {define void @a}

define internal void @f() {
	ret void
}

@a = alias void ()* @f

define void @g() {
	call void()* @a()
	ret void
}