URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [cpp0x/] [regress/] [ctor1.C] - Rev 774
Go to most recent revision | Compare with Previous | Blame | View Log
// PR c++/49569
// { dg-options -std=c++0x }
struct A
{
virtual void f() = 0;
};
struct B: A
{
int i;
virtual void f() { }
};
struct C
{
B b;
C(): b() { }
C(const B& b): b(b) { }
};
Go to most recent revision | Compare with Previous | Blame | View Log