2 // Contributed by Matt Austern <austern at apple dot com>
3 // PR c++/13407: Gracefully handle keyword typename in base class specifier.
6 struct B { typedef A Type; };
10 public typename T::Type // { dg-error "not allowed in this context" }
16 public typename A // { dg-error "not allowed outside of templates" }