// check-pass struct Foo(T); impl Foo { const VALUE: usize = std::mem::size_of::(); } fn test() { let _ = [0; Foo::::VALUE]; } fn main() {}