rust/src/test/compile-fail/bad-expr-path2.rs
2011-08-16 15:05:56 -07:00

8 lines
100 B
Rust

// error-pattern: unresolved name: a
mod m1 {
mod a { }
}
fn main(args: [str]) { log m1::a; }