D-Programming-Language/dmd — pull request #2886 by yebblies (2013-11-27 06:15:08+00:00)
Title: Issue 7472 - Cast from class to basic type not rejected during semantic

https://d.puremagic.com/issues/show_bug.cgi?id=7472