aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/funcspec-6.c
blob: ea896b7ebfdb78d18e8e1f88c95cd3ac8408bbc3 (plain)
1
2
3
4
5
6
7
8
9
/* Test whether all of the 64-bit function specific options are accepted
   without error.  */
/* { dg-do compile { target { ! ia32 } } } */

#include "funcspec-56.inc"

extern void test_arch_foo (void)		__attribute__((__target__("arch=foo"))); /* { dg-error "bad value" } */

extern void test_tune_foo (void)		__attribute__((__target__("tune=foo"))); /* { dg-error "bad value" } */