blob: ba27a08641f9c687e36ea3ababe4b01f5c705542 [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: nothrow function `D main` may throw
---
*/
class B {
this() {}
}
class D() : B {}
void main() nothrow
{
auto d = new D!()();
}