1 // Make sure extern types are !Sized.
3 #![feature(extern_types)]
14 struct Bar<T: ?Sized> {
19 fn assert_sized<T>() { }
23 //~^ ERROR the size for values of type
25 assert_sized::<Foo>();
26 //~^ ERROR the size for values of type
28 assert_sized::<Bar<A>>();
29 //~^ ERROR the size for values of type
31 assert_sized::<Bar<Bar<A>>>();
32 //~^ ERROR the size for values of type