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
http://gcc.gnu.org/ml/gcc-patches/2008-02/msg00110.html
[official-gcc.git]
/
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