summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.74.0/tests/input/cpp/sf.2886991.cpp
blob: 97dfe0cf631395f15a424c2e1f5df01d3f226581 (plain)
1
2
3
4
5
6
7
8
9
10
11
12

void log_fmt( log_sev_t sev,  const char *fmt,... ) __attribute__((format(printf, 2, 3)));

#define LOG_FMT(sev, args...)                           \
   do { if (log_sev_on(sev)) { log_fmt(sev, ## args); } } while (0)

void foo()
{
try {}
catch (...) // <== HERE
{}
}