]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/c-c++-common/cilk-plus/AN/pr61455.c
[Patch AArch64] Fixup floating point division with -march=armv8-a+nosimd
[thirdparty/gcc.git] / gcc / testsuite / c-c++-common / cilk-plus / AN / pr61455.c
1 /* PR c++/61455 */
2 /* { dg-do compile } */
3 /* { dg-options "-fcilkplus" } */
4
5 void foo ()
6 {
7 int a[2];
8 int b = a[:]; /* { dg-error "cannot be scalar" } */
9 }