Mercurial > hg > CbC > CbC_gcc
comparison gcc/testsuite/c-c++-common/cilk-plus/AN/parser_errors.c @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
68:561a7518be6b | 111:04ced10e8804 |
---|---|
1 /* { dg-do compile } */ | |
2 /* { dg-options "-fcilkplus" } */ | |
3 | |
4 int main (void) | |
5 { | |
6 int array[10][10], array2[10]; | |
7 | |
8 array2[:] = array2[: ; /* { dg-error "expected ']'" } */ | |
9 | |
10 return 0; /* { dg-error "expected ';' before" "" { target c } } */ | |
11 } |