1 // https://issues.dlang.org/show_bug.cgi?id=18871
2 // and https://issues.dlang.org/show_bug.cgi?id=18819
3 
4 struct Problem
5 {
~thisProblem6     ~this() {}
7 }
8 struct S
9 {
10     Problem[1] payload;
11 }
12 enum theTemplateB = {
13     static foreach (e; S.init.tupleof) {}
14     return true;
15 }();
16