aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorBad Diode <bd@badd10de.dev>2024-06-23 13:48:59 +0200
committerBad Diode <bd@badd10de.dev>2024-06-23 13:48:59 +0200
commitb9397e53034b08dd9ffb69c94b5283dc46863d33 (patch)
treed474d8a1948cd2703631802e87d58473e6297df0 /tests
parentec7936226a2e82b10bc1fdac132a1d26d178dbcd (diff)
downloadbdl-b9397e53034b08dd9ffb69c94b5283dc46863d33.tar.gz
bdl-b9397e53034b08dd9ffb69c94b5283dc46863d33.zip
Start basic type checking/inference
Diffstat (limited to 'tests')
-rw-r--r--tests/semantics.bad3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/semantics.bad b/tests/semantics.bad
index c331ebc..ff024f7 100644
--- a/tests/semantics.bad
+++ b/tests/semantics.bad
@@ -1,4 +1,5 @@
1let a:u16 = (1 + 2 * 2) / 2 1; let a:int = (1 + 2 * 2) / 2
2let a:f32 = (1.0 + 2.0 * 2.0) / 2.0
2; enum test { 3; enum test {
3; a = 1 4; a = 1
4; b 5; b