// { dg-do assemble } // Copyright (C) 1999 Free Software Foundation // by Alexandre Oliva // based on bug report by Nick Rasmussen template struct foo; template struct bar { typedef int foo; }; template struct baz { typedef bar::foo foo; // { dg-error "" } missing typename };