http://gcc.gnu.org/ml/gcc-patches/2008-02/msg00110.html
[official-gcc.git] / gcc / testsuite / g++.dg / parse / try-catch-1.C
blobe4ed1ad8e9faacaf6be5986359b9a78f5fa67b63
1 // Test case from: <ncm-nospam@cantrip.org>
2 // Reduced by <bangerth@dealii.org>
3 // The problem was that g++ was ICE because
4 // it was deferring an NULL pointer because
5 // it should have been taking the operand 1
6 // instead of the chain in finish_fname_decls.
9 void fun()
10 try
12     __FUNCTION__;
14 catch (...) {}