[opaque pointer type] Add textual IR support for explicit type parameter for global...
[oota-llvm.git] / test / Assembler / invalid-uselistorder-indexes-range.ll
index fc97acac5e6315a5b987f4ca8a92895496816c2f..7c3ab116bd81a701951ab3e2aff1d32c6011109e 100644 (file)
@@ -1,7 +1,7 @@
 ; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s
 ; CHECK: error: expected distinct uselistorder indexes in range [0, size)
 @global = global i32 0
-@alias1 = alias i32* @global
-@alias2 = alias i32* @global
-@alias3 = alias i32* @global
+@alias1 = alias i32, i32* @global
+@alias2 = alias i32, i32* @global
+@alias3 = alias i32, i32* @global
 uselistorder i32* @global, { 0, 3, 1 }