Add xfailed test for #3908

This commit is contained in:
Brian Anderson 2012-11-02 15:57:47 -07:00
parent 1c8c1b2181
commit e2f33e6883
3 changed files with 20 additions and 0 deletions

View file

@ -0,0 +1,3 @@
pub struct Foo {
name: int
}

View file

@ -0,0 +1,3 @@
extern mod pub_use_xcrate1;
pub use pub_use_xcrate1::Foo;

View file

@ -0,0 +1,14 @@
// xfail-test Issue #3908
// aux-build:pub_use_xcrate1.rs
// aux-build:pub_use_xcrate2.rs
extern mod pub_use_xcrate2;
use pub_use_xcrate2::Foo;
fn main() {
let foo: Foo = Foo {
name: 0
};
}