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

char x[] = 0;	// { dg-error "initializer fails to determine size" }
#pragma omp threadprivate (x)