☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
synth.C
☽
☼
gcc/testsuite/g++.old-deja/g++.jason/synth.C
code
plain
raw
1
// { dg-do assemble }
2
// Bug: the synthesized copy constructor for A is not found.
3
4
struct A {
5
// A (const A& a): i(a.i) {}
6
int i;
7
};
8
9
struct B {
10
A a;
11
B (const B& b): a(b.a), j(b.j) { } // { dg-bogus "" }
12
int j;
13
};