about summary refs log tree commit diff stats
path: root/073array.mu
diff options
context:
space:
mode:
Diffstat (limited to '073array.mu')
-rw-r--r--073array.mu13
1 files changed, 7 insertions, 6 deletions
diff --git a/073array.mu b/073array.mu
index 7e1bf807..8272a865 100644
--- a/073array.mu
+++ b/073array.mu
@@ -1,13 +1,14 @@
 scenario array-from-args [
   run [
-    1:address:array:character <- new-array 0, 1, 2
-    2:array:character <- copy *1:address:array:character
+    local-scope
+    x:address:array:character <- new-array 0, 1, 2
+    10:array:character/raw <- copy *x
   ]
   memory-should-contain [
-    2 <- 3  # array length
-    3 <- 0
-    4 <- 1
-    5 <- 2
+    10 <- 3  # array length
+    11 <- 0
+    12 <- 1
+    13 <- 2
   ]
 ]