☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
overload28.C
☽
☼
gcc/testsuite/g++.old-deja/g++.jason/overload28.C
code
plain
raw
1
// { dg-do assemble }
2
// PRMS Id: 6056
3
4
struct Foo {
5
Foo() { } // { dg-message "note" }
6
Foo(int i = 25) { } // { dg-message "note" }
7
};
8
9
int main()
10
{
11
Foo* f1 = new Foo(); // { dg-error "ambiguous" }
12
}