Sign in
gnu
/
gcc
/
a8404c07e7fca388c02c39077865f7d5fa928430
/
.
/
gcc
/
testsuite
/
g++.dg
/
gomp
/
pr35028.C
blob: ef7ba07de178b5398253cffe921568bdf36768cc [
file
] [
log
] [
blame
]
// PR c++/35028
// { dg-do compile }
// { dg-options "-fopenmp" }
struct
A
{
A
();
A
(
const
A
&,
...);
~
A
();
A
operator
++
(
int
);
};
void
foo
()
{
A a
;
#pragma
omp parallel firstprivate
(
a
)
a
++;
}