[llvm-readobj] - Simplify stack-sizes.test test case.
[llvm-complete.git] / test / MC / AArch64 / dot-req-diagnostics.s
blob44065f8d194660743df47eef40e9f505dd0f68d2
1 // RUN: not llvm-mc -triple aarch64-none-linux-gnu < %s 2>&1 | FileCheck --check-prefix=CHECK --check-prefix=CHECK-ERROR %s
3 bar:
4 fred .req x5
5 fred .req x6
6 // CHECK-ERROR: warning: ignoring redefinition of register alias 'fred'
7 // CHECK-ERROR: fred .req x6
8 // CHECK-ERROR: ^
10 ada .req v2.8b
11 // CHECK-ERROR: error: vector register without type specifier expected
12 // CHECK-ERROR: ada .req v2.8b
13 // CHECK-ERROR: ^
15 bob .req lisa
16 // CHECK-ERROR: error: register name or alias expected
17 // CHECK-ERROR: bob .req lisa
18 // CHECK-ERROR: ^
20 lisa .req x1, 23
21 // CHECK-ERROR: error: unexpected input in .req directive
22 // CHECK-ERROR: lisa .req x1, 23
23 // CHECK-ERROR: ^
25 mov bob, fred
26 // CHECK-ERROR: error: invalid operand for instruction
27 // CHECK-ERROR: mov bob, fred
28 // CHECK-ERROR: ^
30 .unreq 1
31 // CHECK-ERROR: error: unexpected input in .unreq directive.
32 // CHECK-ERROR: .unreq 1
33 // CHECK-ERROR: ^
35 mov x1, fred
36 // CHECK: mov x1, x5
37 // CHECK-NOT: mov x1, x6