use std;

fn f() {
}

import std::io::println;    //~ ERROR view items must be declared at the top

fn main() {
}


use std;

fn f() {
}

import std::net;    //~ ERROR view items must be declared at the top

fn main() {
}


Use a mod that exists in view-item-at-top
test: Use a mod that exists in view-item-at-top
