]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/testsuite/c-c++-common/cilk-plus/AN/parser_errors.c
[Patch AArch64] Fixup floating point division with -march=armv8-a+nosimd
[thirdparty/gcc.git] / gcc / testsuite / c-c++-common / cilk-plus / AN / parser_errors.c
CommitLineData
3c6d4197 1/* { dg-do compile } */
2/* { dg-options "-fcilkplus" } */
3
4c115a64 4int main (void)
3c6d4197 5{
6 int array[10][10], array2[10];
7
8 array2[:] = array2[: ; /* { dg-error "expected ']'" } */
9
74578794 10 return 0; /* { dg-error "expected ';' before" "" { target c } } */
11}