directive-arch_extension-negative.s 198 Bytes
// RUN: not llvm-mc -triple aarch64 -filetype asm -o - %s 2>&1 | FileCheck %s

.arch_extension nosve

ptrue   p0.b, pow2
// CHECK: error: instruction requires: sve
// CHECK-NEXT: ptrue   p0.b, pow2