| // https://issues.dlang.org/show_bug.cgi?id=4375: Dangling else | |
| /* | |
| TEST_OUTPUT: | |
| --- | |
| fail_compilation/fail4375o.d(14): Error: else is dangling, add { } after condition at fail_compilation/fail4375o.d(10) | |
| --- | |
| */ | |
| void main() { | |
| if (true) | |
| for (; false;) | |
| if (true) | |
| assert(82); | |
| else | |
| assert(83); | |
| } |