summaryrefslogtreecommitdiffstats
path: root/tools/clang-tidy/test/bugprone-multiple-statement-macro.cpp
blob: 7ad2a2df641180d31a0fa9a5ae05a1e118014e98 (plain)
1
2
3
4
5
6
7
8
9
10
void F();

#define BAD_MACRO(x) \
  F();               \
  F()

void positives() {
  if (1)
    BAD_MACRO(1);
}