summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/gomp/pr47963.c
blob: 636a9542c3230799504899947661f36fc916dc25 (plain)
1
2
3
4
5
6
7
8
9
10
11
/* PR c/47963 */
/* { dg-do compile } */
/* { dg-options "-fopenmp" } */

void
foo (float n)
{
  int A[n][n];	/* { dg-error "has non-integer type" } */
#pragma omp parallel private(A)
  ;
}