gcc/testsuite/gcc.target/s390/target-attribute/tattr-5.c
raw| 1 | /* Functional tests for the "target" attribute and pragma. */ |
| 2 | |
| 3 | /* { dg-do compile { target { lp64 } } } */ |
| 4 | /* { dg-require-effective-target target_attribute } */ |
| 5 | /* { dg-options "-O3 -march=z13 -mno-zvector" } */ |
| 6 | |
| 7 | __attribute__ ((target("zvector"))) |
| 8 | void a1(void) |
| 9 | { /* { dg-error "is not supported by attribute" } */ |
| 10 | } |