Merge from trunk:
[official-gcc.git] / main / gcc / testsuite / c-c++-common / cilk-plus / AN / pr61455.c
blob35a11b66c91177adc88bdd8938e553465e43267d
1 /* PR c++/61455 */
2 /* { dg-do compile } */
3 /* { dg-options "-fcilkplus" } */
5 void foo ()
7 int a[2];
8 int b = a[:]; /* { dg-error "cannot be scalar" } */