1// RUN: not llvm-mc -triple aarch64 -filetype asm -o - %s 2>&1 | FileCheck %s
2
3.arch_extension nosve
4
5ptrue   p0.b, pow2
6// CHECK: error: instruction requires: sve
7// CHECK-NEXT: ptrue   p0.b, pow2
8