]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/c-c++-common/cilk-plus/AN/pr57577.c
[Patch AArch64] Fixup floating point division with -march=armv8-a+nosimd
[thirdparty/gcc.git] / gcc / testsuite / c-c++-common / cilk-plus / AN / pr57577.c
1 /* { dg-do compile } */
2 /* { dg-options "-fcilkplus" } */
3
4 #define NUMBER 100
5 int A[NUMBER], B[NUMBER][NUMBER];
6 int foo (int a);
7
8 int main () {
9 A[:] = foo (B[:][:]); /* { dg-error "rank mismatch between" } */
10 A[0] = foo (B[:][:]); /* { dg-error "cannot be scalar when" } */
11 return 0;
12 }