diff options
| author | Eugen Wissner <belka@caraus.de> | 2026-07-24 18:11:43 +0200 |
|---|---|---|
| committer | Eugen Wissner <belka@caraus.de> | 2026-07-24 18:11:43 +0200 |
| commit | 5dc1e4c991efae2e0dd96b59bc57b2cd81a8c5fb (patch) | |
| tree | f18cee693c72e6d7bfa2684bb522e52cd1a08033 /testsuite | |
| parent | bb4f474cb2247e0e314beab5d7d72e673ff4e8b6 (diff) | |
| download | elna-5dc1e4c991efae2e0dd96b59bc57b2cd81a8c5fb.tar.gz | |
Check the compound statement condition is a boolean
Diffstat (limited to 'testsuite')
| -rw-r--r-- | testsuite/fail_compilation/while_condition.elna | 4 |
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. |
