diff options
| author | Brian Anderson <banderson@mozilla.com> | 2011-09-23 14:58:06 -0700 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2011-09-23 15:15:30 -0700 |
| commit | 18b01d5cfeb5e1d6489e2397b22c5a9aa3ff7c90 (patch) | |
| tree | 50ee1e55fcc08cb15774b973561df8e616daf310 /src/test/run-fail | |
| parent | 2082f67765947d1c84efdf0b374e0b80f535f109 (diff) | |
| download | rust-18b01d5cfeb5e1d6489e2397b22c5a9aa3ff7c90.tar.gz rust-18b01d5cfeb5e1d6489e2397b22c5a9aa3ff7c90.zip | |
Create a bunch of test cases for unique boxes by copying box tests
XFAIL the ones that don't work Issue #409
Diffstat (limited to 'src/test/run-fail')
| -rw-r--r-- | src/test/run-fail/unwind-unique.rs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/test/run-fail/unwind-unique.rs b/src/test/run-fail/unwind-unique.rs new file mode 100644 index 00000000000..19906bda0ae --- /dev/null +++ b/src/test/run-fail/unwind-unique.rs @@ -0,0 +1,10 @@ +// error-pattern:fail + +fn failfn() { + fail; +} + +fn main() { + @0; + failfn(); +} \ No newline at end of file |
