diff --git a/clang-tools-extra/test/clang-tidy/readability-misleading-indentation.cpp b/clang-tools-extra/test/clang-tidy/readability-misleading-indentation.cpp index ef94229fcb09..59d5f4069188 100644 --- a/clang-tools-extra/test/clang-tidy/readability-misleading-indentation.cpp +++ b/clang-tools-extra/test/clang-tidy/readability-misleading-indentation.cpp @@ -98,6 +98,11 @@ int main() } else { } + if (cond1) { + } else if (cond2) { + } else if (!cond2) { + } else { + } } else if (cond2) { }