Sign in
gnu
/
gcc
/
refs/heads/devel/c++-contracts
/
.
/
gcc
/
testsuite
/
g++.dg
/
init
/
value5.C
blob: d705f87b68ec2d9b72199e817ee2c8e409681a3b [
file
] [
log
] [
blame
]
// PR c++/38232
class
base
{
public
:
base
();
virtual
~
base
();
private
:
int
&
int_ref
;
// initialized by base ctor, not visible here
};
class
derived
:
public
base
{
};
base
*
make_derived
()
{
return
new
derived
();
}