llvm-for-llvmta/tools/clang/test/Driver/armv8-crc.c

9 lines
298 B
C
Raw Normal View History

2022-04-25 13:02:35 +02:00
// RUN: %clang -target armv8 -mcrc -### %s 2> %t
// RUN: FileCheck --check-prefix=CHECK-V8-CRC < %t %s
// CHECK-V8-CRC: "-target-feature" "+crc"
// RUN: %clang -target armv8 -mnocrc -### %s 2> %t
// RUN: FileCheck --check-prefix=CHECK-V8-NOCRC < %t %s
// CHECK-V8-NOCRC: "-target-feature" "-crc"