xref: /aosp_15_r20/external/llvm/test/Assembler/invalid-uselistorder-indexes-toomany.ll (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s
2; CHECK: error: wrong number of indexes, expected 2
3@global = global i32 0
4@alias1 = alias i32, i32* @global
5@alias2 = alias i32, i32* @global
6uselistorder i32* @global, { 1, 0, 2 }
7