1 // { dg-do compile { target c++11 } }
2 // { dg-additional-options "-O1 -Wno-pedantic" }
3 // PR c++/83187 ICE in get_alias_set due to canonical type confusion.
10 template <typename> class COMPLEX;
13 struct COMPLEX<double>
15 COMPLEX(double r, double i);
20 COMPLEX<double>::COMPLEX (double r, double i)
27 void foo (COMPLEX<double> *ptr)
29 const dbl_t unused = var;
31 *ptr = COMPLEX<double> (cos (var), sin (var));