From 2367a8b63c3bcfe62d1aaf7d82c0ab3622f3b16c Mon Sep 17 00:00:00 2001 From: Kimplul Date: Thu, 9 Jan 2025 23:00:01 +0200 Subject: initial ptr stuff --- examples/references.fwd | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'examples/references.fwd') diff --git a/examples/references.fwd b/examples/references.fwd index 468f4a0..5b73aaf 100644 --- a/examples/references.fwd +++ b/examples/references.fwd @@ -16,7 +16,9 @@ main() /* references are not active anymore so we can reference again */ references(twenty&, thirty&) => { - /* not ok since twenty/thirty is actively borrowed */ - twenty + thirty => int fifty; + /* Try uncommenting! + * Not ok since twenty/thirty is actively borrowed + */ + // twenty + thirty => int fifty; }; } -- cgit v1.2.3