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