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

Subversion Repositories openrisc

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

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

Line No. Rev Author Line
1 693 jeremybenn
// Test that synthesizing the C copy constructor doesn't require B to
2
// be complete.
3
 
4
template 
5
struct B
6
{
7
  typename T::NT nt;
8
};
9
 
10
struct A
11
{
12
  A ();
13
  A (const A&);
14
  A (const B&);
15
};
16
 
17
struct C: A { };
18
 
19
C c;
20
C c2(c);
21
 

powered by: WebSVN 2.1.0

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