aboutsummaryrefslogtreecommitdiff
path: root/src/test/run-pass/artificial-block.rs
Commit message (Collapse)AuthorAgeFilesLines
* Return a fresh, unreachable context after ret, break, and contMarijn Haverbeke2011-05-051-4/+0
| | | | | | | | | This ensures we don't get compile errors on unreachable code (see test/run-pass/artificial-block.rs for an example of sane code that wasn't compiling). In the future, we might want to warn about non-trivial code appearing in an unreachable context, and/or avoid generating unreachable code altogether (though I'm sure LLVM will weed it out as well).
* Assume xfail-stage0 implies stage1 and stage2 in tests, for now.Graydon Hoare2011-05-031-0/+2
|
* rustc: Remove the artificial block in ty.rs. Fixes self-hosting. Add a test ↵Patrick Walton2011-05-021-0/+12
case for this, XFAIL'd.