4 fail_compilation/fail10102.d(48): Error: variable `fail10102.main.m` - default construction is disabled for type `NotNull!(int*)`
5 fail_compilation/fail10102.d(49): Error: variable `fail10102.main.a` - default construction is disabled for type `NotNull!(int*)[3]`
6 fail_compilation/fail10102.d(50): Error: default construction is disabled for type `NotNull!(int*)`
7 fail_compilation/fail10102.d(51): Error: field `S.m` must be initialized because it has no default constructor
19 assert(p != null, "pointer is null");
27 assert(p != null, "assigning null to NotNull");
38 // should fail: an explicit constructor must be required for S
42 NotNull!(int*) n = &i;
48 NotNull!(int*) m; // should fail
49 NotNull!(int*)[3] a; // should fail
50 auto b = new NotNull!(int*)[3]; // should fail
51 S s = S(); // should fail