]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/c-c++-common/cilk-plus/AN/pr61191.c
[Patch AArch64] Fixup floating point division with -march=armv8-a+nosimd
[thirdparty/gcc.git] / gcc / testsuite / c-c++-common / cilk-plus / AN / pr61191.c
1 /* PR c/61191 */
2 /* { dg-do compile } */
3 /* { dg-options "-fcilkplus" } */
4
5 double f(double * A, double * B)
6 {
7 return __sec_reduce_add((B[0:500])(; /* { dg-error "called object" "" { target c } } */
8 /* { dg-error "expected expression before ';' token" "" { target c } .-1 } */
9 /* { dg-error "expected primary-expression before ';' token" "" { target c++ } .-2 } */
10 /* { dg-error "expected" "" { target c } .-3 } */
11 }