aboutsummaryrefslogtreecommitdiffstats
path: root/test/Transforms/GlobalOpt/2009-02-15-BitcastAlias.ll
blob: d6a565ad10a8fdbdec513aa8f96bfaa46e66d78c (plain)
1
2
3
4
5
6
7
8
9
10
; RUN: opt < %s -globalopt

@g = global i32 0

@a = alias bitcast (i32* @g to i8*)

define void @f() {
	%tmp = load i8* @a
	ret void
}