template <class T>
struct bar {
using Ty = int;
};
struct foo : public bar<T> {
using typename bar<T>::Ty;
void baz(Ty);