summaryrefslogtreecommitdiff
path: root/test/files/neg/stmt-expr-discard.check
Commit message (Collapse)AuthorAgeFilesLines
* Made -Xfatal-warnings less immediately fatal.Paul Phillips2012-08-101-3/+5
| | | | | | | Instead of changing warnings to errors mid-stream, at the end of a run I check for condition "no errors, some warnings, and fatal warnings" and then generate an error at that point. This is necessary to test for some warnings which come from later stages.
* Offer warning when demonstrably non-side-effect...Paul Phillips2011-09-051-0/+7
Offer warning when demonstrably non-side-effecting expressions appear in statement position, which should be unintentional by definition. Threw in removal of six places with useless discarded expressions which the warning informed me about. No review.