6 // Test whether compiling a recursive enum definition crashes debug info generation. The test case
7 // is taken from issue #11083.
9 #![allow(unused_variables)]
10 #![feature(omit_gdb_pretty_printer_section)]
11 #![omit_gdb_pretty_printer_section]
13 pub struct Window<'a> {
14 callbacks: WindowCallbacks<'a>
17 struct WindowCallbacks<'a> {
18 pos_callback: Option<Box<FnMut(&Window, i32, i32) + 'a>>,
22 let x = WindowCallbacks { pos_callback: None };