aboutsummaryrefslogtreecommitdiffstats
path: root/tests/semantics.bad
diff options
context:
space:
mode:
Diffstat (limited to 'tests/semantics.bad')
-rw-r--r--tests/semantics.bad3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/semantics.bad b/tests/semantics.bad
index ee56c14..486f6c0 100644
--- a/tests/semantics.bad
+++ b/tests/semantics.bad
@@ -7,6 +7,9 @@ enum weekdays {
7 sat 7 sat
8 sun 8 sun
9} 9}
10let a = weekdays.tue
11let b = a
12
10; fun add10(a: int, b: str): int { 13; fun add10(a: int, b: str): int {
11; a + 10 14; a + 10
12; } 15; }