6 fail_compilation/fail11542.d(15): Error: `object.Exception` is thrown but not caught
7 fail_compilation/fail11542.d(12): Error: `nothrow` function `fail11542.test_success1` may throw
8 fail_compilation/fail11542.d(25): Error: `object.Exception` is thrown but not caught
9 fail_compilation/fail11542.d(22): Error: `nothrow` function `fail11542.test_success3` may throw
12 void test_success1() nothrow
15 throw new Exception(""); // error
17 void test_success2() nothrow
20 throw new Error(""); // no error
22 void test_success3() nothrow
24 scope(success) assert(0);
25 throw new Exception(""); // error
31 fail_compilation/fail11542.d(38): Error: `object.Exception` is thrown but not caught
32 fail_compilation/fail11542.d(35): Error: `nothrow` function `fail11542.test_failure1` may throw
35 void test_failure1() nothrow
38 throw new Exception(""); // error
40 void test_failure2() nothrow
43 throw new Error(""); // no error
45 void est_failure3() nothrow
47 scope(failure) assert(0);
48 throw new Exception(""); // no error
54 fail_compilation/fail11542.d(61): Error: `object.Exception` is thrown but not caught
55 fail_compilation/fail11542.d(58): Error: `nothrow` function `fail11542.test_exit1` may throw
58 void test_exit1() nothrow
61 throw new Exception(""); // error
63 void test_exit2() nothrow
66 throw new Error(""); // no error
68 void test_exit3() nothrow
70 scope(exit) assert(0);
71 throw new Exception(""); // no error