rust/src/test/compile-fail/export-import.rs
2011-05-01 17:22:20 -04:00

20 lines
180 B
Rust

// xfail-boot
// error-pattern: unresolved name
import m.unexported;
mod m {
export exported;
fn exported() {
}
fn unexported() {
}
}
fn main() {
unexported();
}