blob: a1b69efe1a76f1e5cf8778644871a59b6f6a4ea7 [file] [log] [blame]
Dan Gohman3c7d3082009-09-11 18:01:28 +00001; RUN: opt < %s -globalopt
Duncan Sandse7f431f2009-02-15 09:56:08 +00002
3@g = external global i32
4
5@a = alias bitcast (i32* @g to i8*)
6
7define void @f() {
8 %tmp = load i8* @a
9 ret void
10}