aboutsummaryrefslogtreecommitdiff
path: root/src/test/run-pass/use.rs
blob: ee8ae10ad87610897634174c46131efa790be80c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// xfail-stage0
// xfail-stage1
// xfail-stage2
use std;
use libc();
use zed(name = "std");
use bar(name = "std", ver = "0.0.1");

// FIXME: commented out since resolve doesn't know how to handle crates yet.
// import std::str;
// import x = std::str;

mod baz {
  use std;
  use libc();
  use zed(name = "std");
  use bar(name = "std", ver = "0.0.1");

  // import std::str;
  // import x = std::str;
}

fn main() {
}