2010-06-23 23:03:09 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
2011-06-15 13:19:50 -05:00
|
|
|
// -*- rust -*-
|
2012-08-01 19:30:05 -05:00
|
|
|
fn f(u: ()) { return u; }
|
2011-06-15 13:19:50 -05:00
|
|
|
|
2012-03-22 10:39:41 -05:00
|
|
|
fn main() {
|
|
|
|
let u1: () = ();
|
|
|
|
let mut u2: () = f(u1);
|
|
|
|
u2 = ();
|
2012-08-01 19:30:05 -05:00
|
|
|
return ();
|
2012-03-22 10:39:41 -05:00
|
|
|
}
|