diff options
| -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); +} |
