summaryrefslogtreecommitdiffstats
path: root/tools/clang-tidy/test/bugprone-suspicious-semicolon.cpp
blob: 7a90a87cd39d1e276b205a62960349a650176db3 (plain)
1
2
3
4
5
6
7
8
// bugprone-suspicious-semicolon
void nop();
void fail1()
{
    int x = 0;
    if(x > 5); nop();
}