test: Add xfailed test for #2196

This commit is contained in:
Brian Anderson 2012-04-16 13:51:40 -07:00
parent 2a957237da
commit c461fc869c
6 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,3 @@
#[link(name = "issue2196a", vers = "0.1")];
#[crate_type = "lib"];

View File

@ -0,0 +1,8 @@
#[link(name = "issue2196b", vers = "0.1")];
#[crate_type = "lib"];
use a(name = "issue2196a");
type d = str;
impl d for d { }

View File

@ -0,0 +1,6 @@
#[link(name = "issue2196c", vers = "0.1")];
#[crate_type = "lib"];
use b(name = "issue2196b");
#[path = "issue-2196-d.rs"]
mod d;

View File

@ -0,0 +1,4 @@
import b::d;
type t = uint;

View File

View File

@ -0,0 +1,9 @@
// xfail-test
// aux-build:issue-2196-a.rs
// aux-build:issue-2196-b.rs
// aux-build:issue-2196-c.rc
use c(name = "issue2196c");
import c::t;
fn main() { }