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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [init/] [value2.C] - Blame information for rev 704

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

Line No. Rev Author Line
1 693 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.