From c6ea883724ed389143dbed1806916aa09157b655 Mon Sep 17 00:00:00 2001 From: lemon Date: Mon, 8 Aug 2022 06:20:24 +0200 Subject: switch capture by ref --- bootstrap/test2.cff | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bootstrap/test2.cff') diff --git a/bootstrap/test2.cff b/bootstrap/test2.cff index 4690f72..c0fafc5 100644 --- a/bootstrap/test2.cff +++ b/bootstrap/test2.cff @@ -37,6 +37,8 @@ extern fn main() void { case None; case Int i; i; + case Flo *f; + *f += 1.0f; } printf("n %d\n", n.value); -- cgit v1.2.3