aboutsummaryrefslogtreecommitdiff
path: root/v_windows/v/vlib/v/checker/tests/lock_const.out
diff options
context:
space:
mode:
Diffstat (limited to 'v_windows/v/vlib/v/checker/tests/lock_const.out')
-rw-r--r--v_windows/v/vlib/v/checker/tests/lock_const.out7
1 files changed, 7 insertions, 0 deletions
diff --git a/v_windows/v/vlib/v/checker/tests/lock_const.out b/v_windows/v/vlib/v/checker/tests/lock_const.out
new file mode 100644
index 0000000..2b923da
--- /dev/null
+++ b/v_windows/v/vlib/v/checker/tests/lock_const.out
@@ -0,0 +1,7 @@
+vlib/v/checker/tests/lock_const.vv:7:8: error: `a` must be declared as `shared` variable to be locked
+ 5 | fn main() {
+ 6 | mut c := 0
+ 7 | rlock a {
+ | ^
+ 8 | c = a
+ 9 | }