(root)/
gcc-13.2.0/
gcc/
testsuite/
gdc.test/
compilable/
test6999.d
// https://issues.dlang.org/show_bug.cgi?id=6999: inout in front of return type

struct A
{
inout:
    inout(int) foo()
    {
        return 0;
    }
}

struct B
{
    inout
    {
        inout(int) foo()
        {
            return 0;
        }
    }
}

struct C
{
    inout inout(int) foo()
    {
        return 0;
    }
}