summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/gomp/pr38633.c
blob: 6c96bd1c18cf14d464d9411672dc30be356aa4c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* PR middle-end/38633 */
/* { dg-do compile } */
/* { dg-options "-fopenmp" } */

void
foo ()
{
#pragma omp parallel
  {
    struct A { int i; } j;
    j.i = 6;
    j.i++;
  }
}