| 1 |
// REQUIRED_ARGS: -unittest |
| 2 |
module issue18097; |
| 3 |
|
| 4 |
unittest // this first unittest is needed to trigger the bug |
| 5 |
{ |
| 6 |
} |
| 7 |
|
| 8 |
unittest // second unittest |
| 9 |
{ |
| 10 |
auto a = &mixin(__traits(identifier, __traits(parent, { }))); |
| 11 |
auto b = &__traits(parent, { }); |
| 12 |
} |