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

Subversion Repositories openrisc

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc3/] [gcc/] [testsuite/] [g++.dg/] [init/] [value2.C] - Blame information for rev 516

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 301 jeremybenn
// PR c++/35116
2
// Test that break_out_target_exprs works properly with complex
3
// value-initialization.
4
 
5
struct A
6
{
7
  virtual void f ();
8
};
9
 
10
struct B
11
{
12
  A a;
13
};
14
 
15
struct C
16
{
17
  C (int, B = B());
18
};
19
 
20
void f ()
21
{
22
  C c (4);
23
}

powered by: WebSVN 2.1.0

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