Debian Codegraph @

gcc/testsuite/g++.dg/gomp/pr106829.C

raw
1 // PR c++/106829
2
3 namespace std
4 {
5 template <typename> class complex;
6 template <> struct complex<double> { complex (double); _Complex double d; };
7 }
8 struct S { void static foo (); };
9
10 void
11 S::foo ()
12 {
13 #pragma omp target
14 std::complex<double> c = 0.0;
15 }