Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
gcc
/
testsuite
/
g++.dg
/
gomp
/
pr27337-1.C
blob: 6c26070ab349b7cf12cd0d561999c545de358405 [
file
] [
log
] [
blame
]
// PR middle-end/27337
// { dg-do compile }
struct
S
{
S
();
~
S
();
double
&
operator
*
()
const
;
};
S
foo
()
{
int
i
;
S ret
;
#pragma
omp parallel
for
for
(
i
=
0
;
i
<
2
;
i
++)
*
ret
+=
i
;
return
ret
;
}