summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/gomp/pr47963.C
blob: 7c94e6422a71ad9a6725a2ef9d01f6849d122900 (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-integral type" }
#pragma omp parallel private(A)
  ;
}