summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/gomp/pr35439.c
blob: 1669a97a08f82ceafc98f44773679c54c1ecf02f (plain)
1
2
3
4
5
6
/* PR c/35439 */
/* { dg-do compile } */
/* { dg-options "-fopenmp" } */

void x[1];	/* { dg-error "array of voids" } */
#pragma omp threadprivate(x)