1 // REQUIRED_ARGS: -w 2 // https://issues.dlang.org/show_bug.cgi?id=4375: Dangling else 3 /* 4 TEST_OUTPUT: 5 --- 6 fail_compilation/fail4375c.d(15): Warning: else is dangling, add { } after condition at fail_compilation/fail4375c.d(11) 7 --- 8 */ 9 main()10void main() { 11 if (true) 12 if (false) { 13 assert(6.1); 14 } 15 else { 16 assert(6.2); 17 } 18 } 19 20