mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 13:10:12 +03:00
37 lines
459 B
D
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;
|
|
}
|