Debian Codegraph @

gcc/testsuite/gdc.test/compilable/test23087.d

raw
1 // https://issues.dlang.org/show_bug.cgi?id=23087
2 struct S
3 {
4 this(bool) {}
5 this(bool, int) {}
6 }
7
8 static foreach (ctor; __traits(getOverloads, S, "__ctor"))
9 static assert(__traits(getLinkage, ctor) == "D");