]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/gdc.test/fail_compilation/fail4375t.d
Add D front-end, libphobos library, and D2 testsuite.
[thirdparty/gcc.git] / gcc / testsuite / gdc.test / fail_compilation / fail4375t.d
1 // REQUIRED_ARGS: -w -unittest
2 // 4375: Dangling else
3
4 unittest { // disallowed
5 if (true)
6 if (false)
7 assert(52);
8 else
9 assert(53);
10 }
11