2 // Make sure this compiles without getting a linker error because of missing
3 // drop-glue because the collector missed adding drop-glue for the closure:
5 fn create_fn() -> Box<dyn Fn()> {
6 let text = String::new();
8 Box::new(move || { let _ = &text; })