llvm-project/llvm/test/Transforms/GlobalOpt/2009-02-15-BitcastAlias.ll

11 lines
122 B
LLVM
Raw Normal View History

; RUN: opt < %s -globalopt
@g = global i32 0
@a = alias i8, i32* @g
define void @f() {
%tmp = load i8* @a
ret void
}