[opaque pointer type] Add textual IR support for explicit type parameter for global...
[oota-llvm.git] / test / Assembler / invalid-uselistorder-indexes-duplicated.ll
index e4affc53c1f6cd20fe16f85f2e4ae4df75946d5b..4ab4fbdfcce9fd30754a0e9e8dc229b3cac13a48 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, 0, 2 }