// { dg-do compile } // Copyright (C) 2003 Free Software Foundation, Inc. // Contributed by Nathan Sidwell 24 Jan 2003 // PR 9403. We failed to parse template keyword, and we accepted code // which required one. template struct Outer; template struct X : Outer::template Inner {}; template struct Y : Outer::Inner {}; // { dg-error "" "" }