Sign in
gnu
/
gcc
/
refs/heads/devel/gimple-linterchange
/
.
/
gcc
/
testsuite
/
g++.dg
/
init
/
const8.C
blob: 4eb293d654cf55e46b9337ade2cee606c9b3f892 [
file
] [
log
] [
blame
]
// DR 234 - it should be OK to leave off the initializer of a const
// variable if the default constructor fully initializes the object.
struct
A
{
};
const
A a
;
struct
B
{
A a
;
};
const
B b
;
struct
C
{
virtual
void
f
();
};
const
C c
;