diff options
Diffstat (limited to 'gcc/testsuite/gcc.target/aarch64/options_set_8.c')
-rw-r--r-- | gcc/testsuite/gcc.target/aarch64/options_set_8.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.target/aarch64/options_set_8.c b/gcc/testsuite/gcc.target/aarch64/options_set_8.c new file mode 100644 index 00000000000..83be1bd7a5c --- /dev/null +++ b/gcc/testsuite/gcc.target/aarch64/options_set_8.c @@ -0,0 +1,12 @@ +/* { dg-do compile } */ +/* { dg-additional-options "-march=armv8.4-a+nodotprod" } */ + +int main () +{ + return 0; +} + +/* { dg-final { scan-assembler-times {\.arch armv8\.4\-a} 1 } } */ + +/* Checking if trying to turn off default features propagates the commandline + option. */ |