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
Regenerate config/avr/avr.opt.urls
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
synth.C
blob
a57f23ce989016d540385cf29d785c3082a07666
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
};