//@ run-pass #![allow(type_alias_bounds)] #![allow(dead_code)] // Test syntax checks for `?Sized` syntax. use std::marker::PhantomData; trait T1 { } pub trait T2 { } trait T3 : T2 { } trait T4 { } trait T5 { } trait T6 { } trait T7 { } trait T8 { } trait T9 { } struct S1(PhantomData); enum E { E1(PhantomData) } impl T1 for S1 {} fn f() {} type TT = T; pub fn main() { }