test: Update and un-xfail compile-fail/tag-that-dare-not...

This commit is contained in:
Brian Anderson 2012-02-05 18:06:54 -08:00
parent 0b43bf9782
commit 80cd6aa96e

View File

@ -1,8 +1,13 @@
// -*- rust -*-
// xfail-test
// error-pattern:option
use std;
import vec::*;
// error-pattern:mismatched types: expected `char` but found
// Issue #876
#[no_core];
use core;
fn last<T: copy>(v: [const T]) -> core::option<T> {
fail;
}
fn main() {
let y;