Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.mike
/
eh58.C
blob: 9bc89260c3151d4a38e2b610cedc6d8052ab52e6 [
file
] [
log
] [
blame
]
// { dg-do assemble }
// { dg-options "-fexceptions" }
struct
C
{
bool
mem
;
~
C
();
};
C genTemp
();
int
foo_notok
(
int
arg
)
{
switch
(
arg
)
{
case
0
:
return
genTemp
().
mem
;
default
:
return
3
;
}
}