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
Initial revision
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
overload28.C
1
// PRMS Id: 6056
2
3
struct Foo {
4
Foo() { } // ERROR - candidate
5
Foo(int i = 25) { } // ERROR - candidate
6
};
7
8
main()
9
{
10
Foo* f1 = new Foo(); // ERROR - ambiguous
11
}