2018-09-14 12:20:28 +02:00
|
|
|
#![allow(unused_assignments)]
|
|
|
|
#![allow(unknown_lints)]
|
2015-03-22 13:13:15 -07:00
|
|
|
// pretty-expanded FIXME #23616
|
|
|
|
|
2016-08-13 02:41:43 -07:00
|
|
|
#![allow(unused_variables)]
|
2014-04-14 21:00:31 +05:30
|
|
|
#![allow(dead_assignment)]
|
2010-06-23 21:03:09 -07:00
|
|
|
|
2012-08-01 17:30:05 -07:00
|
|
|
fn f(u: ()) { return u; }
|
2011-06-15 11:19:50 -07:00
|
|
|
|
2013-02-01 19:43:17 -08:00
|
|
|
pub fn main() {
|
2012-03-22 08:39:41 -07:00
|
|
|
let u1: () = ();
|
|
|
|
let mut u2: () = f(u1);
|
|
|
|
u2 = ();
|
2012-08-01 17:30:05 -07:00
|
|
|
return ();
|
2012-03-22 08:39:41 -07:00
|
|
|
}
|