https://issues.dlang.org/show_bug.cgi?id=8887
RazvanN <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #20 from RazvanN <[email protected]> --- (In reply to Andrej Mitrovic from comment #0) > extern(C) void fail(int[4] x); > extern(C) int[4] fail2(); > extern(C++) void fail3(int[4] x); > extern(C++) int[4] fail4(); > > These should fail since C/C++ compilers always pass arrays by pointer to > first element. The last 2 declarations fails in today's compiler. I guess we can do the same for the first 2. --
