diff options
| author | 2022-08-08 06:20:24 +0200 | |
|---|---|---|
| committer | 2022-08-08 06:20:24 +0200 | |
| commit | c6ea883724ed389143dbed1806916aa09157b655 (patch) | |
| tree | 313e42900944d8ec5f0c482db4910ab69959c3e0 /bootstrap/test2.cff | |
| parent | 29a059d87af940a232443b59726da900cca83f19 (diff) | |
switch capture by ref
Diffstat (limited to 'bootstrap/test2.cff')
| -rw-r--r-- | bootstrap/test2.cff | 2 |
1 files changed, 2 insertions, 0 deletions
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); |