mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 13:10:12 +03:00
12 lines
251 B
D
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, { });
|
|
}
|