Sign in
gnu
/
gcc
/
e8cbc2e256b3e9568288594d9f90a2015d31b55a
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
binding2.C
blob: e56a0544b472c247d668dbb64c1577d23d78568d [
file
] [
log
] [
blame
]
// Bug: g++ screws up binding levels in a switch statement with cleanups.
// Build don't link:
struct
A
{
~
A
()
{
}
};
int
f
(
int
i
)
{
switch
(
i
)
{
default
:
A a
;
}
return
1
;
}
// causes compiler segfault