aboutsummaryrefslogtreecommitdiffstats
path: root/test/Assembler/invalid-uselistorder-indexes-toomany.ll
blob: a2cf3da0bd38d9a0f7b6f99e57cc6f7b187a2594 (plain)
1
2
3
4
5
6
; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s
; CHECK: error: wrong number of indexes, expected 2
@global = global i32 0
@alias1 = alias i32* @global
@alias2 = alias i32* @global
uselistorder i32* @global, { 1, 0, 2 }