[opaque pointer type] Add textual IR support for explicit type parameter for global...
[oota-llvm.git] / test / Linker / alias.ll
index bce51ad9836fc4f965fac9b2f491ba564057dd9e..4e2072396d4728fec2650faf6475ddd862c319b7 100644 (file)
@@ -2,15 +2,15 @@
 ; RUN: llvm-link %S/Inputs/alias.ll %s -S -o - | FileCheck %s
 
 @foo = weak global i32 0
-; CHECK-DAG: @foo = alias i32* @zed
+; CHECK-DAG: @foo = alias i32, i32* @zed
 
-@bar = alias i32* @foo
-; CHECK-DAG: @bar = alias i32* @foo
+@bar = alias i32, i32* @foo
+; CHECK-DAG: @bar = alias i32, i32* @foo
 
 @foo2 = weak global i32 0
-; CHECK-DAG: @foo2 = alias bitcast (i32* @zed to i16*)
+; CHECK-DAG: @foo2 = alias i16, bitcast (i32* @zed to i16*)
 
-@bar2 = alias i32* @foo2
-; CHECK-DAG: @bar2 = alias bitcast (i16* @foo2 to i32*)
+@bar2 = alias i32, i32* @foo2
+; CHECK-DAG: @bar2 = alias i32, bitcast (i16* @foo2 to i32*)
 
 ; CHECK-DAG: @zed = global i32 42