OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.dg/] [init/] [ctor5.C] - Blame information for rev 841

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
//  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
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.