summaryrefslogtreecommitdiff
path: root/gcc/testsuite/c-c++-common/attr-simd-5.c
blob: 7bf3f2c0459e3def8f3a5f48202e9a0c61686908 (plain)
1
2
3
4
5
6
7
/* { dg-do compile } */

__attribute__((__simd__("bug")))
int simd_attr (void) { return 0; } /* { dg-error "only 'inbranch' and 'notinbranch'" } */

__attribute__((__simd__("notinbranch", "inbranch")))
int simd_attr2 (void) { return 0; } /* { dg-error "wrong number of arguments specified" } */