Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
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
);