1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
// PR middle-end/34694 // { dg-do compile } // { dg-options "-O -fopenmp -Wall" } int i; void foo () { #pragma omp parallel { int j; // { dg-message "note: 'j' was declared here" } i = j; // { dg-warning "is used uninitialized" } } }