Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/c-c++-common/cilk-plus/AN/pr62008.c @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | |
children |
line wrap: on
line source
/* PR other/62008 */ /* { dg-do compile } */ /* { dg-options "-fcilkplus" } */ void f(int *a, int w, int h) { int tmp[w][h]; tmp[:][:] = a[0:w][0:h]; /* { dg-error "base of array section must be pointer or array type" } */ /* { dg-error "start-index and length fields necessary" "" { target c } .-1 } */ }