blob: 44d3195590d2e8fc8a70093e85b9bd44e7018e4d [file]
/* { dg-do compile } */
/* { dg-require-ifunc "" } */
/* { dg-options "-O0" } */
__attribute__ ((target_version ("test"))) float
foo () { return 3; } /* { dg-error "invalid feature modifier .test. of value .test. in .target_version. attribute" } */
__attribute__ ((target_version ("sve+test"))) float
foo2 () { return 3; } /* { dg-error "invalid feature modifier .test. of value .sve.test. in .target_version. attribute" } */