D-Programming-Language/dmd — pull request #3432 by 9rnsr (2014-04-07 07:47:54+00:00)
Title: [REG2.066a] Issue 12390 - "has no effect in expression" diagnostic regression

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

When value discarding check on statements, the side-effect check should not be done deeply.