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

void foo ();
#pragma omp threadprivate(foo)	/* { dg-error "is not a variable" } */