OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
2010-01-26 Richard Guenther <rguenther@suse.de>
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
parse
/
ctor6.C
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);