Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.dg
/
gomp
/
pr36237.C
blob: 29c7adc8a27d01dd6fad9df58303a1b9cd416d9c [
file
] [
log
] [
blame
]
// PR c++/36237
// { dg-do compile }
// { dg-options "-fopenmp" }
struct
A
{
~
A
();
};
struct
B
{
B
(
const
A
&
x
=
A
())
:
a
(
x
)
{
}
A a
;
};
B
var
;
void
bar
();
void
foo
()
{
#pragma
omp parallel
private
(
var
)
bar
();
}