PR libfortran/64770 Segfault when trying to open existing file with status="new".
[official-gcc.git] / gcc / testsuite / gcc.dg / gomp / pr34694.c
blob35cbf3340646e8d7b45d067cb00ccde8076e38a1
1 /* PR middle-end/34694 */
2 /* { dg-do compile } */
3 /* { dg-options "-O -fopenmp -Wall" } */
5 int i;
7 void
8 foo ()
10 #pragma omp parallel
12 int j; /* { dg-message "note: 'j' was declared here" } */
13 i = j; /* { dg-warning "is used uninitialized" } */