repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
No empty .Rs/.Re
[netbsd-mini2440.git]
/
gnu
/
dist
/
gcc4
/
gcc
/
testsuite
/
g++.dg
/
init
/
ctor5.C
blob
cc933188201772fcceedd3e1227cfa752c2efc98
1
// PR C++/21645
2
// We were crashing because we forgot to update the type for
3
// the cloned argument for the cloned ctor.
4
5
struct color {
6
~color();
7
};
8
struct style {
9
color col;
10
style (color);
11
};
12
13
style::style(color c)
14
: col(c)
15
{
16
}
17