YouCompleteMe/cpp/llvm/test/Transforms/GlobalOpt/2009-02-15-BitcastAlias.ll
2012-07-05 17:51:06 -07:00

11 lines
142 B
LLVM

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