blob: e59c8df557005a30c6f2c57e27f813aef89b175e [file] [log] [blame]
Duncan Sands4782b302009-02-15 09:56:08 +00001; RUN: llvm-as < %s | opt -globalopt
2
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}