// REQUIRED_ARGS: -w
/*
TEST_OUTPUT:
---
fail_compilation/fail8724.d(14): Error: object.Exception is thrown but not caught
fail_compilation/fail8724.d(12): Error: nothrow constructor 'fail8724.Foo.this' may throw
---
*/

struct Foo
{
    this(int) nothrow
    {
        throw new Exception("something");
    }
}
