A problem found by Matthias Pleh: http://www.digitalmars.com/webnews/newsgroups.php?art_group=digitalmars.D.learn&article_id=24915 struct Foo {} void main() { Foo f; bool b = &f is cast(Foo*)0; } DMD 2.052 gives: Assertion failure: '0' on line 875 in file 'constfold.c'
Isn't this an ICE then?
(In reply to comment #1) > Isn't this an ICE then? Certainly is!
*** Issue 6159 has been marked as a duplicate of this issue. ***
https://github.com/D-Programming-Language/dmd/commit/878499a6d911c9e7e77ae97db36f73d1fd7e2aff