// xfail-boot
// error-pattern: unresolved name
mod foo {
export x;
fn x(int y) {
log y;
}
fn z(int y) {
fn main() {
foo.z(10);