1 // Bugzilla 8150: nothrow check doesn't work for constructor
2 
3 struct Foo
4 {
thisFoo5     this(int) nothrow
6     {
7         throw new Exception("something");
8     }
9 }
10 
main()11 void main() {
12     Foo(1);
13 }
14