PageRenderTime 48ms CodeModel.GetById 22ms RepoModel.GetById 0ms app.codeStats 0ms

/src/test/run-fail/unwind-box-unique.rs

https://bitbucket.org/graydon/rust
Rust | 11 lines | 8 code | 2 blank | 1 comment | 0 complexity | 4fcd276d9d0439b8e38a132a8a09beb2 MD5 | raw file
  1. // error-pattern:fail
  2. fn failfn() {
  3. fail;
  4. }
  5. fn main() {
  6. let x = @~0;
  7. failfn();
  8. log(error, x);
  9. }