(root)/
gcc-13.2.0/
gcc/
testsuite/
gdc.test/
compilable/
test19873.d
// PERMUTE_ARGS: -preview=dip1000
// https://issues.dlang.org/show_bug.cgi?id=19873
int* ed(scope int* x)
{
    auto y = x;
    return y;
}

int* et(scope int* x) @trusted
{
    auto y = x;
    return y;
}

int* es(scope int* x) @system
{
    auto y = x;
    return y;
}

auto ad(scope int* x)
{
    auto y = x;
    return y;
}

auto at(scope int* x) @trusted
{
    auto y = x;
    return y;
}

auto as(scope int* x) @system
{
    auto y = x;
    return y;
}