// error-pattern: unresolved use main::bar; fn main(args: ~[str]) { debug!("foo"); }