Sign in
ara-mdk
/
platform
/
ndk
/
2fe911ac795eb560f6d83118e227698b458e074a
/
.
/
tests
/
device
/
test-stlport_static-exception
/
jni
/
fntry1_1.cpp
blob: 9a5d993bee0298d710b021e483545e79450d6ab0 [
file
] [
log
] [
blame
]
// { dg-do run }
// 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
);
}