(root)/
gcc-13.2.0/
gcc/
testsuite/
gdc.test/
compilable/
test14740.d
// https://issues.dlang.org/show_bug.cgi?id=14740

void test()
{
    struct S
    {
        void fun() {}
    }
    static assert([__traits(allMembers, S)] == ["fun"]);
}