2014-07-25 10:01:42 +10:00
|
|
|
// compile-flags:--test
|
|
|
|
|
|
|
|
// the `--test` harness creates modules with these textual names, but
|
|
|
|
// they should be inaccessible from normal code.
|
2019-08-25 21:03:24 +01:00
|
|
|
use main as x; //~ ERROR unresolved import `main`
|
|
|
|
use test as y; //~ ERROR unresolved import `test`
|
2014-07-25 10:01:42 +10:00
|
|
|
|
|
|
|
#[test]
|
|
|
|
fn baz() {}
|