1// RUN: not llvm-mc -triple aarch64-none-linux-gnu -mattr=+sve < %s 2>&1 | FileCheck %s
2
3foo:
4// CHECK: error: sve predicate register without type specifier expected
5  pbarb .req p1.b
6// CHECK: error: sve predicate register without type specifier expected
7  pbarh .req p1.h
8// CHECK: error: sve predicate register without type specifier expected
9  pbars .req p1.s
10// CHECK: error: sve predicate register without type specifier expected
11  pbard .req p1.d
12
13// CHECK: error: sve vector register without type specifier expected
14  zbarb .req z1.b
15// CHECK: error: sve vector register without type specifier expected
16  zbarh .req z1.h
17// CHECK: error: sve vector register without type specifier expected
18  zbars .req z1.s
19// CHECK: error: sve vector register without type specifier expected
20  zbard .req z1.d
21