summaryrefslogtreecommitdiff
path: root/gcc/testsuite/c-c++-common/attr-simd-3.c
blob: 56552bd7e0882079f2151e8cb38efec316c188bc (plain)
1
2
3
4
5
/* { dg-do compile { target cilkplus } } */
/* { dg-options "-fcilkplus" } */
/* { dg-prune-output "undeclared here \\(not in a function\\)|\[^\n\r\]* was not declared in this scope" } */

void f () __attribute__((__simd__, __vector__)); /* { dg-error "in the same function marked as a Cilk Plus" "PR68158" } */