aboutsummaryrefslogtreecommitdiffstats
path: root/test/Transforms/GlobalOpt/2009-02-15-ResolveAlias.ll
blob: 7c30d87dc1b35fa1dc3b7a5575341c705b5fc068 (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
}