Sign in
gnu
/
gcc
/
14bc1c0e15633ea781d76d0ae4274b2e27d51db5
/
.
/
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
);
}