1// RUN: not llvm-mc  -triple aarch64-none-linux-gnu -mattr=+neon,+crypto,-fp-armv8 < %s 2> %t
2// RUN: FileCheck --check-prefix=CHECK-ERROR < %t %s
3
4        sha1h s0, s1
5
6// CHECK-ERROR: error: instruction requires: sha2
7// CHECK-ERROR-NEXT:    sha1h s0, s1
8// CHECK-ERROR-NEXT:    ^
9