(root)/
gcc-13.2.0/
gcc/
testsuite/
gdc.test/
compilable/
issue18097.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, {  });
}