[opaque pointer type] Add textual IR support for explicit type parameter for global...
[oota-llvm.git] / test / Transforms / SCCP / global-alias-constprop.ll
1 ; RUN: opt < %s -sccp -S | FileCheck %s
2
3 @0 = private unnamed_addr constant [2 x i32] [i32 -1, i32 1]
4 @"\01??_7A@@6B@" = unnamed_addr alias i32, getelementptr inbounds ([2 x i32], [2 x i32]* @0, i32 0, i32 1)
5
6 ; CHECK: ret i32 1
7
8 define i32 @main() {
9   %a = load i32, i32* @"\01??_7A@@6B@"
10   ret i32 %a
11 }