dmd/compiler/test/compilable/test23087.d
2022-07-09 18:53:07 +02:00

9 lines
218 B
D

// https://issues.dlang.org/show_bug.cgi?id=23087
struct S
{
this(bool) {}
this(bool, int) {}
}
static foreach (ctor; __traits(getOverloads, S, "__ctor"))
static assert(__traits(getLinkage, ctor) == "D");