1 #![feature(extern_types)]
4 // @has foreigntype/foreigntype.ExtType.html
9 // @has - '//a[@class="fnname"]' 'do_something'
10 pub fn do_something(&self) {}
15 // @has foreigntype/trait.Trait.html '//a[@class="foreigntype"]' 'ExtType'
16 impl Trait for ExtType {}
18 // @has foreigntype/index.html '//a[@class="foreigntype"]' 'ExtType'