2018-03-15 Steven G. Kargl <kargl@gcc.gnu.org>
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / funcspec-6.c
blobea896b7ebfdb78d18e8e1f88c95cd3ac8408bbc3
1 /* Test whether all of the 64-bit function specific options are accepted
2 without error. */
3 /* { dg-do compile { target { ! ia32 } } } */
5 #include "funcspec-56.inc"
7 extern void test_arch_foo (void) __attribute__((__target__("arch=foo"))); /* { dg-error "bad value" } */
9 extern void test_tune_foo (void) __attribute__((__target__("tune=foo"))); /* { dg-error "bad value" } */