summaryrefslogtreecommitdiff
path: root/Tests/RunCMake/Syntax/QueryCache.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/Syntax/QueryCache.cmake')
-rw-r--r--Tests/RunCMake/Syntax/QueryCache.cmake6
1 files changed, 6 insertions, 0 deletions
diff --git a/Tests/RunCMake/Syntax/QueryCache.cmake b/Tests/RunCMake/Syntax/QueryCache.cmake
new file mode 100644
index 000000000..20c648e60
--- /dev/null
+++ b/Tests/RunCMake/Syntax/QueryCache.cmake
@@ -0,0 +1,6 @@
+
+set(query_var "cache value" CACHE STRING "")
+set(query_var "local value")
+
+message("-->$CACHE{query_var}<--")
+message("-->${query_var}<--")