diff options
| author | Tim Chevalier <chevalier@alum.wellesley.edu> | 2011-09-01 12:27:49 -0700 |
|---|---|---|
| committer | Tim Chevalier <chevalier@alum.wellesley.edu> | 2011-09-01 13:12:59 -0700 |
| commit | 4951bb8bfc1cfcc7bc0df9ebdaf86610a2c2658f (patch) | |
| tree | 6d52ef4aa61b258bd77475ab4c19e2beda3cf0cd /src/test | |
| parent | 387903e702ded5b40472d850fb896a3826c97350 (diff) | |
| download | rust-4951bb8bfc1cfcc7bc0df9ebdaf86610a2c2658f.tar.gz rust-4951bb8bfc1cfcc7bc0df9ebdaf86610a2c2658f.zip | |
Test for #876
This is the test case for #876. Xfailed for now.
Diffstat (limited to 'src/test')
| -rw-r--r-- | src/test/compile-fail/tag-that-dare-not-speak-its-name.rs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/test/compile-fail/tag-that-dare-not-speak-its-name.rs b/src/test/compile-fail/tag-that-dare-not-speak-its-name.rs new file mode 100644 index 00000000000..0e87863354c --- /dev/null +++ b/src/test/compile-fail/tag-that-dare-not-speak-its-name.rs @@ -0,0 +1,10 @@ +// -*- rust -*- +// xfail-test +// error-pattern:mismatch +use std; +import std::vec::*; + +fn main() { + let y; + let x : char = last(y); +} |
