If the target of an alias has internal linkage, then the
[oota-llvm.git] / test / Transforms / GlobalOpt / 2009-02-15-ResolveAlias.ll
1 ; RUN: llvm-as < %s | opt -globalopt | llvm-dis | grep {define void @a}
2
3 define internal void @f() {
4         ret void
5 }
6
7 @a = alias void ()* @f
8
9 define void @g() {
10         call void()* @a()
11         ret void
12 }