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 000000000000..0e87863354cf --- /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); +}