(root)/
gcc-13.2.0/
gcc/
testsuite/
gdc.test/
compilable/
ice13920.d
// REQUIRED_ARGS: -o-
// PERMUTE_ARGS:

class Foo
{
    void foo()
    {
        foreach (f; __traits(getOverloads, typeof(this), "bar"))
        {
            auto dg = &f;
        }

        foreach (f; __traits(getVirtualMethods, typeof(this), "bar"))
        {
            auto dg = &f;
        }
    }

    uint bar() { return 0; }
}