blob: 44cb74815c6a04555c3a091281fd04275e7383ce [file] [log] [blame]
pub const fn sof<T>() -> usize {
10
}
fn test<T>() {
let _: [u8; sof::<T>()];
//~^ ERROR the size for values of type `T`
}
fn main() {}