aboutsummaryrefslogtreecommitdiff
path: root/bootstrap/test2.cff
diff options
context:
space:
mode:
authorlemon <lsof@mailbox.org>2022-08-08 09:19:07 +0200
committerlemon <lsof@mailbox.org>2022-08-08 09:19:17 +0200
commitbc32ed90d6eaaca6406998961c50c5f5d5ca5260 (patch)
treee50939f376d63e8266aff0daeec01db6e087a97a /bootstrap/test2.cff
parentf8a8add7d0e74d20304b3194e836752a9986ddc3 (diff)
lexing fix
Diffstat (limited to 'bootstrap/test2.cff')
-rw-r--r--bootstrap/test2.cff2
1 files changed, 2 insertions, 0 deletions
diff --git a/bootstrap/test2.cff b/bootstrap/test2.cff
index ec5fcb0..83e12fe 100644
--- a/bootstrap/test2.cff
+++ b/bootstrap/test2.cff
@@ -42,9 +42,11 @@ extern fn main() void {
case Int i;
i;
case Flo *f;
+ let x f32 = *f;
}
let t = v.#tag;
let i = v.Int;
+ ! v.#tag++;
#:outer for let i = 0; i++ < 10; {
printf("%d\n", i);