1 // compile-flags: -C opt-level=3
4 fn foo(_i: i32) -> i32 {
7 fn bar(_i: i32) -> i32 {
12 let x: fn(i32) -> i32 = foo;
13 let y: fn(i32) -> i32 = bar;
17 s1 = "same".to_string();
19 s1 = format!("{:?}, {:?}", x, y);
24 s2 = "same".to_string();
26 s2 = format!("{:?}, {:?}", x, y);