dmd/compiler/test/compilable/issue18097.d
2022-07-09 18:53:07 +02:00

12 lines
251 B
D

// REQUIRED_ARGS: -unittest
module issue18097;
unittest // this first unittest is needed to trigger the bug
{
}
unittest // second unittest
{
auto a = &mixin(__traits(identifier, __traits(parent, { })));
auto b = &__traits(parent, { });
}