3 #![allow(non_camel_case_types)]
5 // pretty-expanded FIXME #23616
9 // check that we do not report a type like this as uninstantiable,
10 // even though it would be if the nxt field had type @foo:
13 struct X { x: usize, nxt: *const foo }
16 let _x = foo(X {x: 0, nxt: ptr::null()});