diff options
author | Bad Diode <bd@badd10de.dev> | 2024-06-23 20:51:17 +0200 |
---|---|---|
committer | Bad Diode <bd@badd10de.dev> | 2024-06-23 20:51:17 +0200 |
commit | c46596607e8ea5b37ac1bc145902b5c59dbce4e9 (patch) | |
tree | bc57522170fcaf4fe80285235b7e2b9e79653f16 /tests | |
parent | a52097738e663f8bfea9b771c6f839f3dea9d901 (diff) | |
download | bdl-c46596607e8ea5b37ac1bc145902b5c59dbce4e9.tar.gz bdl-c46596607e8ea5b37ac1bc145902b5c59dbce4e9.zip |
Add while typechecking
Diffstat (limited to 'tests')
-rw-r--r-- | tests/semantics.bad | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/semantics.bad b/tests/semantics.bad index c316a3c..a66c8ba 100644 --- a/tests/semantics.bad +++ b/tests/semantics.bad | |||
@@ -22,6 +22,10 @@ let single = if (true) { | |||
22 | 123 | 22 | 123 |
23 | } | 23 | } |
24 | 24 | ||
25 | while (!true) { | ||
26 | "asjdflasdjf" | ||
27 | } | ||
28 | |||
25 | ; enum test { | 29 | ; enum test { |
26 | ; a = 1 | 30 | ; a = 1 |
27 | ; b | 31 | ; b |