diff options
Diffstat (limited to 'clang-tools-extra/test/clang-tidy/misc-misplaced-const-cxx17.cpp')
| -rw-r--r-- | clang-tools-extra/test/clang-tidy/misc-misplaced-const-cxx17.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang-tools-extra/test/clang-tidy/misc-misplaced-const-cxx17.cpp b/clang-tools-extra/test/clang-tidy/misc-misplaced-const-cxx17.cpp index d9213cea601..7816a091d7a 100644 --- a/clang-tools-extra/test/clang-tidy/misc-misplaced-const-cxx17.cpp +++ b/clang-tools-extra/test/clang-tidy/misc-misplaced-const-cxx17.cpp @@ -1,4 +1,4 @@ -// RUN: %check_clang_tidy %s misc-misplaced-const %t -- -- -std=c++17 +// RUN: %check_clang_tidy -expect-clang-tidy-error %s misc-misplaced-const %t -- -- -std=c++17 // This test previously would cause a failed assertion because the structured // binding declaration had no valid type associated with it. This ensures the |

