mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 23:04:33 +00:00
test: Add xfailed test for #2196
This commit is contained in:
parent
2a957237da
commit
c461fc869c
3
src/test/auxiliary/issue-2196-a.rs
Normal file
3
src/test/auxiliary/issue-2196-a.rs
Normal file
@ -0,0 +1,3 @@
|
||||
#[link(name = "issue2196a", vers = "0.1")];
|
||||
#[crate_type = "lib"];
|
||||
|
8
src/test/auxiliary/issue-2196-b.rs
Normal file
8
src/test/auxiliary/issue-2196-b.rs
Normal 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 { }
|
||||
|
6
src/test/auxiliary/issue-2196-c.rc
Normal file
6
src/test/auxiliary/issue-2196-c.rc
Normal 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;
|
4
src/test/auxiliary/issue-2196-c.rs
Normal file
4
src/test/auxiliary/issue-2196-c.rs
Normal file
@ -0,0 +1,4 @@
|
||||
import b::d;
|
||||
|
||||
type t = uint;
|
||||
|
0
src/test/auxiliary/issue-2196-d.rs
Normal file
0
src/test/auxiliary/issue-2196-d.rs
Normal file
9
src/test/run-pass/issue-2196.rs
Normal file
9
src/test/run-pass/issue-2196.rs
Normal 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() { }
|
Loading…
Reference in New Issue
Block a user