1 2 3 4 5 6 7 8 9 10 11
// { dg-do compile } // There is no ambiguity in finding a right constructor for X b(a). class X { public: X(const X&, int = 3); }; extern X a; X b(a);