Debian Codegraph @

gcc/testsuite/g++.dg/parse/ctor6.C

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