1template <class T>2struct bar {3 using Ty = int;4};5template <class T>6struct foo : public bar<T> {7 using typename bar<T>::Ty;8 void baz(Ty);9};10