(root)/
gcc-13.2.0/
gcc/
testsuite/
gdc.dg/
pr100882b.d
// https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100882
// { dg-do compile }

auto iota(int, int)
{
    struct Result
    {
        this(int)
        {
        }
    }
    return Result();
}

auto iota(int end)
{
    int begin;
    return iota(begin, end);
}