diff options
Diffstat (limited to 'bootstrap/test2.cff')
| -rw-r--r-- | bootstrap/test2.cff | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/bootstrap/test2.cff b/bootstrap/test2.cff index e5e484a..4690f72 100644 --- a/bootstrap/test2.cff +++ b/bootstrap/test2.cff @@ -31,8 +31,13 @@ extern fn main() void { let x int #?; x = X + 1 + Y; - let v Value = :None; + let v= Value:None; v = :Int 3; + switch (v) { + case None; + case Int i; + i; + } printf("n %d\n", n.value); printf("n link %d\n", n.link.value); |