Sign in
chromium
/
chromiumos
/
third_party
/
gcc
/
refs/heads/factory-ryu-6486.B
/
.
/
gcc
/
testsuite
/
c-c++-common
/
cilk-plus
/
AN
/
pr61455.c
blob: 35a11b66c91177adc88bdd8938e553465e43267d [
file
] [
log
] [
blame
]
/* PR c++/61455 */
/* { dg-do compile } */
/* { dg-options "-fcilkplus" } */
void
foo
()
{
int
a
[
2
];
int
b
=
a
[:];
/* { dg-error "cannot be scalar" } */
}