| 1 |
// PERMUTE_ARGS: -preview=dip1000 |
| 2 |
// https://issues.dlang.org/show_bug.cgi?id=19873 |
| 3 |
int* ed(scope int* x) |
| 4 |
{ |
| 5 |
auto y = x; |
| 6 |
return y; |
| 7 |
} |
| 8 |
|
| 9 |
int* et(scope int* x) @trusted |
| 10 |
{ |
| 11 |
auto y = x; |
| 12 |
return y; |
| 13 |
} |
| 14 |
|
| 15 |
int* es(scope int* x) @system |
| 16 |
{ |
| 17 |
auto y = x; |
| 18 |
return y; |
| 19 |
} |
| 20 |
|
| 21 |
auto ad(scope int* x) |
| 22 |
{ |
| 23 |
auto y = x; |
| 24 |
return y; |
| 25 |
} |
| 26 |
|
| 27 |
auto at(scope int* x) @trusted |
| 28 |
{ |
| 29 |
auto y = x; |
| 30 |
return y; |
| 31 |
} |
| 32 |
|
| 33 |
auto as(scope int* x) @system |
| 34 |
{ |
| 35 |
auto y = x; |
| 36 |
return y; |
| 37 |
} |