summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.78.0/tests/input/cpp/try-catch-nl.cpp
blob: 447f3cbdbec7e0aee58bf9dee56aec45df8ae159 (plain)
1
2
3
4
5
6
7
8
9
10
int foo()
{
try { foo(bar); } catch (int *e) { return 0; }

if (false) try { throw int(); } catch(...){}

if (a) { return 1; } else { return 0; }
return 1;
}