Sign in
gnu
/
gcc
/
1ba7adabf29eb671e418692fad076ea6edd08e3d
/
.
/
gcc
/
testsuite
/
g++.dg
/
gomp
/
pr34694.C
blob: c225e1545232c23aeab32e7253535c0e06cf5f46 [
file
] [
log
] [
blame
]
// 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" }
}
}