gcc/testsuite/g++.dg/parse/try-catch-1.C
raw| 1 | // Test case from: <[email protected]> |
| 2 | // Reduced by <[email protected]> |
| 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. |
| 7 | |
| 8 | |
| 9 | void fun() |
| 10 | try |
| 11 | { |
| 12 | __FUNCTION__; |
| 13 | } |
| 14 | catch (...) {} |