]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/c-c++-common/cilk-plus/PS/for3.c
2da8235f3194cdeb5f6fde11201f6b3238ca2d8d
[thirdparty/gcc.git] / gcc / testsuite / c-c++-common / cilk-plus / PS / for3.c
1 /* { dg-do compile } */
2 /* { dg-options "-O3 -fcilkplus" } */
3
4 int *a, *c;
5
6 void foo()
7 {
8 int i, j;
9
10 // Pointers are OK.
11 #pragma simd
12 for (int *i=c; i < c; ++i)
13 *a = '5';
14 }