Sign in
gnu
/
gcc
/
75bbfcfa8623f5b211475a54f52ced32201575e7
/
.
/
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