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

Subversion Repositories openrisc

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 693 jeremybenn
// DR 234 - it should be OK to leave off the initializer of a const
2
// variable if the default constructor fully initializes the object.
3
 
4
struct A { };
5
const A a;
6
 
7
struct B { A a; };
8
const B b;
9
 
10
struct C { virtual void f(); };
11
const C c;

powered by: WebSVN 2.1.0

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