dmd/compiler/test/compilable/test19873.d
2022-07-09 18:53:07 +02:00

37 lines
459 B
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;
}