summaryrefslogtreecommitdiffstats
path: root/gcc/testsuite/g++.dg/parse/try-catch-1.C
blob: e4ed1ad8e9faacaf6be5986359b9a78f5fa67b63 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Test case from: <ncm-nospam@cantrip.org>
// Reduced by <bangerth@dealii.org>
// The problem was that g++ was ICE because
// it was deferring an NULL pointer because
// it should have been taking the operand 1
// instead of the chain in finish_fname_decls.


void fun()
try
{
    __FUNCTION__;
}
catch (...) {}
OpenPOWER on IntegriCloud