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

--- Comment #3 from Walter Bright <[email protected]> ---
You are correct that C doesn't allow it.

Currently, D accepts it and generates the wrong code.

C++ accepts it, and generates the correct code.

We should either make it an error or do what C++ does.

--

Reply via email to