Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.dg
/
gomp
/
pr106829.C
blob: 0295efb88ee01bb9344ee84d53ef6a56865b6644 [
file
] [
log
] [
blame
]
// PR c++/106829
namespace
std
{
template
<typename>
class
complex
;
template
<>
struct
complex
<double>
{
complex
(
double
);
_Complex
double
d
;
};
}
struct
S
{
void
static
foo
();
};
void
S
::
foo
()
{
#pragma
omp target
std
::
complex
<double>
c
=
0.0
;
}