Commit b06167fc by Jason Merrill

new

From-SVN: r28887
parent e271912d
// 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);
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment