MATCH: Improve `A CMP 0 ? A : -A` set of patterns to use bitwise_equal_p.
[official-gcc.git] / gcc / testsuite / gdc.test / fail_compilation / fail11375.d
blobcabf87a6cae3463f747d97ae920b17e5d426bb81
1 /*
2 TEST_OUTPUT:
3 ---
4 fail_compilation/fail11375.d(18): Error: constructor `fail11375.D!().D.this` is not `nothrow`
5 which calls `fail11375.B.this`
6 fail_compilation/fail11375.d(16): Error: function `D main` may throw but is marked as `nothrow`
7 ---
8 */
10 class B {
11 this() {}
14 class D() : B {}
16 void main() nothrow
18 auto d = new D!()();