this is allowed by dparse:
void main() { mixin template MT() {int a;} mixin MT!() a; }
but it is illegal by the official grammar.
Both dmd v2.113.0-beta.1 and ldc 1.42.0 can compile this code.
this is allowed by dparse:
but it is illegal by the official grammar.