aboutsummaryrefslogtreecommitdiff
path: root/src/test/run-pass/use.rs
blob: a71957f20e4f7c85591ced7e1db9056753928eab (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// xfail-stage0
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() {
}