1 2 3 4 5 6 7 8 9
/* PR c++/61455 */ /* { dg-do compile } */ /* { dg-options "-fcilkplus" } */ void foo () { int a[2]; int b = a[:]; /* { dg-error "cannot be scalar" } */ }