repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
* g++.dg/parse/ctor6.C, g++.dg/parse/defarg11.C,
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
parse
/
ctor6.C
blob
0b14ecc6eb215390fc3a8b5625fb2276140b9c69
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);