// Copyright 2014 The Rust Project Developers. See the COPYRIGHT // file at the top-level directory of this distribution and at // http://rust-lang.org/COPYRIGHT. // // Licensed under the Apache License, Version 2.0 or the MIT license // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. // 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() { }