2 // { dg-options "-O2" }
3 // { dg-skip-if "requires hosted libstdc++ for iostream" { ! hostedlib } }
16 inline complex<double>& operator[] (int x);
22 b = new complex<double>[a];
23 for (int i=0; i<a; i++) b[i] = complex<double>(0.0,0.0);
26 inline complex<double>& A::operator[](int x)
29 cout << "x error" << endl;
38 for (int i = 0; i < n; i++) {
40 (*o)[i] *= complex<double>((*p)[i].real(), (*p)[i].imag());