summaryrefslogtreecommitdiff
path: root/Tests/RunCMake/block/InvalidNesting4.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/block/InvalidNesting4.cmake')
-rw-r--r--Tests/RunCMake/block/InvalidNesting4.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/Tests/RunCMake/block/InvalidNesting4.cmake b/Tests/RunCMake/block/InvalidNesting4.cmake
new file mode 100644
index 0000000000..6e8e0ae6b3
--- /dev/null
+++ b/Tests/RunCMake/block/InvalidNesting4.cmake
@@ -0,0 +1,5 @@
+
+block()
+foreach(item IN ITEMS A B)
+endblock()
+endforeach()