DI/Verifier: Fix argument bitrot in DILocalVariable
[oota-llvm.git] / test / Transforms / GlobalOpt / 2009-02-15-BitcastAlias.ll
index a1b69efe1a76f1e5cf8778644871a59b6f6a4ea7..a3e90045d64b984a67109e899b0d8f8de2c0ce1f 100644 (file)
@@ -1,10 +1,10 @@
 ; RUN: opt < %s -globalopt
 
-@g = external global i32
+@g = global i32 0
 
 @a = alias bitcast (i32* @g to i8*)
 
 define void @f() {
-       %tmp = load i8* @a
+       %tmp = load i8, i8* @a
        ret void
 }