1 template < typename > struct Foo 2 { rdstateFoo3 inline void rdstate() { 4 } 5 }; 6 7 extern template struct Foo<int>; 8 9 struct Bar:virtual public Foo<int> 10 { 11 }; 12