rust/src/test/run-pass/spawn-module-qualified.rs
Graydon Hoare 4d31cf1dc5 Distill semantics of use-def maps to fewer and more-obvious words.
- Remove redundant uses of 'resolve' and 'referent' in semant.
- Use defn, defn_id, lval, lval_base more consistently.
- Make associated query functions more consistent.
- Closes #127.
2010-07-27 11:19:43 -07:00

10 lines
99 B
Rust

fn main() {
auto x = spawn m.child(10);
join x;
}
mod m {
fn child(int i) {
log i;
}
}