blob: 12ee464bbeec2795f3bbd7bd0dcf812fcc5771f2 [file] [log] [blame]
// RUN: clang-tidy %s -checks="-*,misc-suspicious-semicolon" -- 2>&1 | FileCheck %s
// Note: This test verifies that, the checker does not emit any warning for
// files that do not compile.
bool g();
void f() {
if (g());
// CHECK-NOT: [misc-suspicious-semicolon]
int a
}