From 4951bb8bfc1cfcc7bc0df9ebdaf86610a2c2658f Mon Sep 17 00:00:00 2001 From: Tim Chevalier Date: Thu, 1 Sep 2011 12:27:49 -0700 Subject: [PATCH] Test for #876 This is the test case for #876. Xfailed for now. --- .../compile-fail/tag-that-dare-not-speak-its-name.rs | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 src/test/compile-fail/tag-that-dare-not-speak-its-name.rs 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); +}