| 1 |
// REQUIRED_ARGS: -preview=dip1000 |
| 2 |
|
| 3 |
// https://issues.dlang.org/show_bug.cgi?id=23380 |
| 4 |
// Issue 23380 - [dip1000] class parameter should not be treated as ref qua lifetime |
| 5 |
|
| 6 |
@safe void test(scope Object o0, scope Object o1) |
| 7 |
{ |
| 8 |
o1 = o0; |
| 9 |
} |