aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gdc.test/compilable/test18871.d
blob: 44486f20cee8f11646d08d224eec27377f2ba7fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// https://issues.dlang.org/show_bug.cgi?id=18871
// and https://issues.dlang.org/show_bug.cgi?id=18819

struct Problem
{
    ~this() {}
}
struct S
{
    Problem[1] payload;
}
enum theTemplateB = {
    static foreach (e; S.init.tupleof) {}
    return true;
}();