[Issue 21868] DIP1000 doesn't catch pointer to struct temporary

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Jul 6 07:32:46 UTC 2021


https://issues.dlang.org/show_bug.cgi?id=21868

Walter Bright <bugzilla at digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugzilla at digitalmars.com

--- Comment #5 from Walter Bright <bugzilla at digitalmars.com> ---
Minimized test case:

  ref int test(ref scope return int* p)
  {
     return *p;
  }

--


More information about the Digitalmars-d-bugs mailing list