blob: 7592a5a1dfd23a6bb88a4ab22389f6e27217bc52 [file] [log] [blame]
/*
TEST_OUTPUT:
---
fail_compilation/fail11375.d(17): Error: constructor `fail11375.D!().D.this` is not `nothrow`
fail_compilation/fail11375.d(15): Error: function `D main` may throw but is marked as `nothrow`
---
*/
class B {
this() {}
}
class D() : B {}
void main() nothrow
{
auto d = new D!()();
}