1 // REQUIRED_ARGS: -o- -w
6 fail_compilation/warn12809.d(25): Warning: statement is not reachable
7 fail_compilation/warn12809.d(33): Warning: statement is not reachable
11 //void test_unrachable1()
16 // int x = 1; // unreachable
20 void test_unrachable2()
25 int x
= 1; // unreachable
28 void test_unrachable3()
33 int x
= 1; // unreachable
36 /********************************************/
41 fail_compilation/warn12809.d(108): Warning: statement is not reachable
42 fail_compilation/warn12809.d(115): Warning: statement is not reachable
43 fail_compilation/warn12809.d(122): Warning: statement is not reachable
44 Error: warnings are treated as errors
45 Use -wi if you wish to treat warnings only as informational.
51 alias noreturn
= typeof(*null);