These all seem to work, in D1 and D2 (1.072, 2.058)
Comment #4 by andrej.mitrovich — 2013-01-08T15:40:23Z
(In reply to comment #2)
> D2 will eliminate custom operator new.
If this is going to happen we should implement a deprecation stage (initially add a note to the docs, then the compiler can eventually emit a warning, and later reject such code).
We've lost 2 years which could have been used to deprecate the feature.