summaryrefslogtreecommitdiff
path: root/Tests/RunCMake/Syntax/StringNoSpace.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/Syntax/StringNoSpace.cmake')
-rw-r--r--Tests/RunCMake/Syntax/StringNoSpace.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/Tests/RunCMake/Syntax/StringNoSpace.cmake b/Tests/RunCMake/Syntax/StringNoSpace.cmake
new file mode 100644
index 000000000..76f22db9a
--- /dev/null
+++ b/Tests/RunCMake/Syntax/StringNoSpace.cmake
@@ -0,0 +1,4 @@
+# Quoted arguments may be immediately followed by another argument.
+foreach(x "1 \${var} \\n 4""x"y)
+ message("[${x}]")
+endforeach()