| Duncan P. N. Exon Smith | 0a448fb | 2014-08-19 21:30:15 +0000 | [diff] [blame] | 1 | ; RUN: not llvm-as < %s -disable-output 2>&1 | FileCheck %s |
| 2 | ; CHECK: error: expected distinct uselistorder indexes in range [0, size) | ||||
| 3 | @global = global i32 0 | ||||
| David Blaikie | 2f40830 | 2015-09-11 03:22:04 +0000 | [diff] [blame] | 4 | @alias1 = alias i32, i32* @global |
| 5 | @alias2 = alias i32, i32* @global | ||||
| 6 | @alias3 = alias i32, i32* @global | ||||
| Duncan P. N. Exon Smith | 0a448fb | 2014-08-19 21:30:15 +0000 | [diff] [blame] | 7 | uselistorder i32* @global, { 0, 3, 1 } |