7 enum E<T> { Thing(isize, T), Nothing((), ((), ()), [i8; 0]) }
10 // These are macros so we get useful assert messages.
12 macro_rules! check_option {
14 assert_eq!(mem::size_of::<Option<$T>>(), mem::size_of::<$T>());
18 macro_rules! check_fancy {
20 assert_eq!(mem::size_of::<E<$T>>(), mem::size_of::<S<$T>>());
24 macro_rules! check_type {
32 check_type!(&'static isize);
33 check_type!(Box<isize>);
34 check_type!(extern "C" fn());