blob: 299db88326834a8951ffc4f12e25f550ce9ed698 [file] [log] [blame]
// PR c++/55753
// { dg-do compile { target c++11 } }
struct A
{
double r,i;
constexpr A(double r = 0.0, double i = 0.0): r(r), i(i) {}
};
template <typename Tp>
struct B {
B() {
A((true ? 1.0 : A()));
}
};