about summary refs log tree commit diff stats
path: root/cpp/051scenario_test.mu
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/051scenario_test.mu')
-rw-r--r--cpp/051scenario_test.mu12
1 files changed, 12 insertions, 0 deletions
diff --git a/cpp/051scenario_test.mu b/cpp/051scenario_test.mu
index 024086a9..d401c62b 100644
--- a/cpp/051scenario_test.mu
+++ b/cpp/051scenario_test.mu
@@ -8,3 +8,15 @@ scenario first_scenario_in_mu [
     1 <- 4
   ]
 ]
+
+scenario check_string_in_memory [
+  run [
+    1:integer <- copy 3:literal
+    2:character <- copy 97:literal  # 'a'
+    3:character <- copy 98:literal  # 'b'
+    4:character <- copy 99:literal  # 'c'
+  ]
+  memory should contain [
+    1:string <- [abc]
+  ]
+]