]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/gcc.dg/gomp/uninit-1.c
[multiple changes]
[thirdparty/gcc.git] / gcc / testsuite / gcc.dg / gomp / uninit-1.c
1 // PR 24612
2 // { dg-do compile }
3 // { dg-options "-O -Wuninitialized -fopenmp" }
4
5 void foo()
6 {
7 int i;
8 #pragma omp parallel shared(i)
9 {
10 i = 0;
11 ++i;
12 }
13 }