aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/c-c++-common/cilk-plus/SE/ef_error2.c
blob: 518d6407eeb1bc856cfc5394ba818555f5e0af47 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* { dg-do compile { target { i?86-*-* x86_64-*-* } } } */
/* { dg-options "-fcilkplus -Wall" } */

__attribute__((vector (vectorlength(32)))) 
//#pragma omp simd simdlen (32)
int func2 (int x, int y)  /* { dg-warning "unsupported simdlen" } */
{
  return (x+y);
}

int main (void)
{
  return (func2 (5,6));
}