diff options
Diffstat (limited to 'test/Driver/arm-ras.c')
-rw-r--r-- | test/Driver/arm-ras.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/Driver/arm-ras.c b/test/Driver/arm-ras.c new file mode 100644 index 000000000000..6d2168c160bf --- /dev/null +++ b/test/Driver/arm-ras.c @@ -0,0 +1,7 @@ +// RUN: %clang -target arm-none-none-eabi -march=armv8a+ras -### -c %s 2>&1 | FileCheck --check-prefix=CHECK-RAS %s +// RUN: %clang -target arm-none-none-eabi -mcpu=generic+ras -### -c %s 2>&1 | FileCheck --check-prefix=CHECK-RAS %s +// CHECK-RAS: "-target-feature" "+ras" + +// RUN: %clang -target arm-none-none-eabi -march=armv8a+noras -### -c %s 2>&1 | FileCheck --check-prefix=CHECK-NORAS %s +// RUN: %clang -target arm-none-none-eabi -mcpu=generic+noras -### -c %s 2>&1 | FileCheck --check-prefix=CHECK-NORAS %s +// CHECK-NORAS: "-target-feature" "-ras" |