(root)/
gcc-13.2.0/
gcc/
testsuite/
gdc.test/
compilable/
dip22.d
// REQUIRED_ARGS: -de
// EXTRA_FILES: imports/dip22.d
import imports.dip22;

class Foo : Base1, Base2
{
    void test()
    {
        static assert(typeof(bar()).sizeof == 2);
        static assert(baz == 2);
        static assert(T.sizeof == 2);
    }
}

void test()
{
    bar(12);
    baz(12);
    12.bar();
    12.baz();
}