blob: c3ee8067f591844c16713e4c647a747f1848e791 [file] [log] [blame]
//! Checks the basic usage of unit type
//@ run-pass
fn f(u: ()) {
u
}
pub fn main() {
let u1: () = ();
let mut _u2: () = f(u1);
_u2 = ();
()
}