URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [cpp0x/] [constexpr-initlist4.C] - Rev 734
Go to most recent revision | Compare with Previous | Blame | View Log
// { dg-options -std=c++0x }
struct A { int i; };
struct B: A { constexpr B(): A{} {} };
struct B2: A { constexpr B2(): A{1} {} };
struct C { protected: int i; };
struct D: C { constexpr D(): C{} {} };
Go to most recent revision | Compare with Previous | Blame | View Log