Author: Tyker Date: 2020-01-04T01:41:21+01:00 New Revision: c4766cadcb38172c2843d65559060e0ae623b6eb
URL: https://github.com/llvm/llvm-project/commit/c4766cadcb38172c2843d65559060e0ae623b6eb DIFF: https://github.com/llvm/llvm-project/commit/c4766cadcb38172c2843d65559060e0ae623b6eb.diff LOG: [Diagnostic] Add test for previous b4b904e19bb356724b2c6aea0199ce05c6f15cdb Added: clang/test/Parser/warn-misleading-indentation-fix.cpp Modified: Removed: ################################################################################ diff --git a/clang/test/Parser/warn-misleading-indentation-fix.cpp b/clang/test/Parser/warn-misleading-indentation-fix.cpp new file mode 100644 index 000000000000..bb84d5337a91 --- /dev/null +++ b/clang/test/Parser/warn-misleading-indentation-fix.cpp @@ -0,0 +1,3 @@ +int main(void) { for( int i = 0; i < 9; i++ ); return 0; } +// the crash only occurs on the first line don't move it. +// RUN: %clang_cc1 -x c -fsyntax-only -Wmisleading-indentation %s _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits