3 fn size_of_val<T>(_: &T) -> usize {
4 std::mem::size_of::<T>()
7 struct Foo(#[allow(unused_tuple_struct_fields)] i64);
9 // Test that the (symbol) mangling of `Foo` (the `struct` type) and that of
10 // `typeof Foo` (the function type of the `struct` constructor) don't collide.