[Issue 21625] Mixed-in unittests can collide with other unittests

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Feb 10 11:25:19 UTC 2021


https://issues.dlang.org/show_bug.cgi?id=21625

--- Comment #1 from Max Samukha <maxsamukha at gmail.com> ---
Same with static constructors:

enum c = q{
static this() {}
};

mixin(c);
static this() {
    assert(false);
}

void main() {
}

--


More information about the Digitalmars-d-bugs mailing list