blob: 2d25c83f3623712a32264ed3dfa8f08491bf58d5 [file] [log] [blame]
//@ run-pass
// Test view items inside non-file-level mods
// This is a regression test for an issue where we were failing to
// pretty-print such view items. If that happens again, this should
// begin failing.
mod m {
pub fn f() -> Vec<isize> { Vec::new() }
}
pub fn main() { let _x = m::f(); }