summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/if/MatchesSelf.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/if/MatchesSelf.cmake')
-rw-r--r--Tests/RunCMake/if/MatchesSelf.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/Tests/RunCMake/if/MatchesSelf.cmake b/Tests/RunCMake/if/MatchesSelf.cmake
new file mode 100644
index 0000000..3131ac4
--- /dev/null
+++ b/Tests/RunCMake/if/MatchesSelf.cmake
@@ -0,0 +1,4 @@
+foreach(n 0 1 2 3 4 5 6 7 8 9 COUNT)
+ if(CMAKE_MATCH_${n} MATCHES "x")
+ endif()
+endforeach()