If the target of an alias has internal linkage, then the
[oota-llvm.git] / test / Transforms / GlobalOpt / 2009-02-15-BitcastAlias.ll
1 ; RUN: llvm-as < %s | opt -globalopt
2
3 @g = external global i32
4
5 @a = alias bitcast (i32* @g to i8*)
6
7 define void @f() {
8         %tmp = load i8* @a
9         ret void
10 }