Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.mike
/
p8786.C
blob: 577111ec3383502baa73d81c35c91841116c59c6 [
file
] [
log
] [
blame
]
// { dg-do assemble }
// { dg-options "-O" }
// prms-id: 8786
class
B
{
public
:
~
B
();
};
class
D
:
public
B
{
public
:
D
(
int
);
};
int
foo
()
{
D t
(
0
);
bool
h
=
1
;
if
(
h
)
{
D p
(
0
);
return
0
;
}
return
0
;
}