diff options
Diffstat (limited to 'bootstrap/test2.cff')
| -rw-r--r-- | bootstrap/test2.cff | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bootstrap/test2.cff b/bootstrap/test2.cff index fdb30cb..ec5fcb0 100644 --- a/bootstrap/test2.cff +++ b/bootstrap/test2.cff @@ -36,15 +36,15 @@ extern fn main() void { let x int #?; x = X + 1 + Y; - let v= Value:None; - v = :Int 3; + let const v= Value:None; switch (v) { case None; case Int i; i; case Flo *f; - *f += 1.0f; } + let t = v.#tag; + let i = v.Int; #:outer for let i = 0; i++ < 10; { printf("%d\n", i); |