// run-pass// Tests that we can call a function bounded over a supertrait from// a default methodfnrequire_y<T: Y>(x: T)-> isize{x.y()}traitY{fny(self)-> isize;}traitZ: Y+Sized{fnx(self)-> isize{require_y(self)}}implYforisize{fny(self)-> isize{self}}implZforisize{}pubfnmain(){assert_eq!(12.x(),12);}