Sign in
gnu
/
gcc
/
251a817e23053b543f04f101c675f5513bbb1865
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
fntry1.C
blob: 17075c514c52842d986a73171f808f0683da3762 [
file
] [
log
] [
blame
]
// Bug: g++ silently ignores function-try-blocks in templates.
// Submitted by Jason Merrill <jason@cygnus.com>
template
<
class
T
>
void
f
(
T
)
try
{
throw
1
;
}
catch
(...)
{
}
int
main
()
{
f
(
1
);
}