Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
gcc
/
testsuite
/
g++.dg
/
parse
/
ctor6.C
blob: 0b14ecc6eb215390fc3a8b5625fb2276140b9c69 [
file
] [
log
] [
blame
]
// { 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
);