blob: fd20bac804074d44fe75ea09ac849bb1c5e495db [file] [log] [blame] [edit]
//@ check-pass
#![allow(dead_code)]
trait Trait {
type Output;
}
fn f<T: Trait>() {
std::mem::size_of::<T::Output>();
}
fn main() {}