Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.mike
/
eh56.C
blob: 1b660fca12e39992dd0c762f35ff4c0eb9a33f6c [
file
] [
log
] [
blame
]
// { dg-do run }
// { dg-options "-fexceptions" }
struct
A
{
A
()
{
}
A
(
const
char
*)
{
}
A
(
const
A
&)
{
}
~
A
()
{
}
};
struct
bmf
{
bmf
(
const
A n
)
{
}
~
bmf
(
void
)
{
}
A name
;
};
void
imf
(
void
)
{
bmf
Sabs
(
"abs"
);
}
int
main
(
void
)
{
imf
();
}