summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/gomp/pr34964.c
blob: 7800be1d5ccccc86efd03f8c9f0d1ea7b77ca6df (plain)
1
2
3
4
5
6
/* PR c++/34964 */
/* { dg-do compile } */
/* { dg-options "-fopenmp" } */

char x[] = 0;	/* { dg-error "invalid initializer" } */
#pragma omp threadprivate (x)