// RUN: not llvm-mc -triple=aarch64 -show-encoding -mattr=+sme 2>&1 < %s| FileCheck %s
// ------------------------------------------------------------------------- //
// Invalid keyword
smstart foo
// CHECK: :{{+}}: error: invalid operand for instruction
// CHECK-NEXT: smstart foo
// CHECK-NOT: :{{+}}: