summaryrefslogtreecommitdiff
path: root/tests/memory
diff options
context:
space:
mode:
Diffstat (limited to 'tests/memory')
-rw-r--r--tests/memory/test_memory_safety.zc2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/memory/test_memory_safety.zc b/tests/memory/test_memory_safety.zc
index 652fe21..020a7ba 100644
--- a/tests/memory/test_memory_safety.zc
+++ b/tests/memory/test_memory_safety.zc
@@ -183,7 +183,7 @@ test "test_immutable" {
"Distance: {dist}";
var sum = accumulate(10, 5);
"Accumulate: {sum}";
- var p3 = process_point(p1);
+ var p3 = process_point(Point { x: 0, y: 0 });
"Processed: ({p3.x}, {p3.y})";
counter_immut();
}