// { dg-do compile } // Copyright (C) 2003 Free Software Foundation, Inc. // Contributed by Nathan Sidwell 1 Aug 2003 // PR 10530. Thought a type was dependent. template struct Foo { struct Inner { typedef int type; }; }; template struct Bar { typedef typename Foo::Inner::type type; };