2018-03-15 Steven G. Kargl <kargl@gcc.gnu.org>
[official-gcc.git] / gcc / testsuite / gcc.target / aarch64 / target_attr_15.c
blob108b372e4cc38b6e04e0fda149dd02b91d354246
1 /* { dg-do assemble } */
2 /* { dg-options "-march=armv8-a+crypto -mcpu=generic -save-temps" } */
4 /* Check that "+nothing" clears the ISA flags. */
6 __attribute__ ((target ("+nothing")))
7 int
8 foo (int a)
10 return a + 1;
13 /* { dg-final { scan-assembler-times "\\.arch armv8-a\\+nofp\\+nosimd\n" 1 } } */