summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/Syntax/EscapedAt.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/Syntax/EscapedAt.cmake')
-rw-r--r--Tests/RunCMake/Syntax/EscapedAt.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/Tests/RunCMake/Syntax/EscapedAt.cmake b/Tests/RunCMake/Syntax/EscapedAt.cmake
new file mode 100644
index 0000000..1ced620
--- /dev/null
+++ b/Tests/RunCMake/Syntax/EscapedAt.cmake
@@ -0,0 +1,5 @@
+set(var "n")
+set(ref "\\@var@")
+
+string(CONFIGURE "${ref}" output)
+message("-->${output}<--")