template <class T>
struct foo {
 typedef T type;
};

template <class T>
struct goo : foo<T> {
 using foo<T>::type;
};

int main() {
 goo<int>::type t;
}