aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/c-c++-common/attr-simd-3.c
blob: 2bbdf04d17acd4a54c42d689705d316c63a5bb97 (plain)
1
2
3
4
5
/* { dg-do compile } */
/* { 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" } */