summaryrefslogtreecommitdiff
path: root/Tests/RunCMake/ClangTidy/C-bad.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/ClangTidy/C-bad.cmake')
-rw-r--r--Tests/RunCMake/ClangTidy/C-bad.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/Tests/RunCMake/ClangTidy/C-bad.cmake b/Tests/RunCMake/ClangTidy/C-bad.cmake
new file mode 100644
index 0000000000..aa54c08209
--- /dev/null
+++ b/Tests/RunCMake/ClangTidy/C-bad.cmake
@@ -0,0 +1,3 @@
+enable_language(C)
+set(CMAKE_C_CLANG_TIDY "${PSEUDO_TIDY}" -bad)
+add_executable(main main.c)