aboutsummaryrefslogtreecommitdiff
path: root/testsuite
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite')
-rw-r--r--testsuite/fail_compilation/while_condition.elna4
1 files changed, 4 insertions, 0 deletions
diff --git a/testsuite/fail_compilation/while_condition.elna b/testsuite/fail_compilation/while_condition.elna
new file mode 100644
index 0000000..73fed95
--- /dev/null
+++ b/testsuite/fail_compilation/while_condition.elna
@@ -0,0 +1,4 @@
+begin
+ while 1 do (* @Error Condition must be a boolean, got 'Int' *)
+ end
+end.