http://d.puremagic.com/issues/show_bug.cgi?id=5482



--- Comment #2 from bearophile_h...@eml.cc 2011-02-10 13:54:34 PST ---
(In reply to comment #1)
> Cannot reproduce.

You are right, to crash is the compiled program (with DMD 2.051 on Windows).


> The second case gives a runtime access violation, but neither example causes a
> compiler segfault.

As in the first case this time the compiled program gives:
object.Error: Access Violation


> Is align(0) really valid? I don't think it makes sense.

I agree, I suggest to turn it into a compile-time error (as negative numbers
already do).

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to