aboutsummaryrefslogtreecommitdiffstats
path: root/tests/semantics.bad
diff options
context:
space:
mode:
Diffstat (limited to 'tests/semantics.bad')
-rw-r--r--tests/semantics.bad4
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
25while (!true) {
26 "asjdflasdjf"
27}
28
25; enum test { 29; enum test {
26; a = 1 30; a = 1
27; b 31; b