// PR c++/3792 // Origin: // { dg-do compile } struct X { template struct Y {}; }; typedef X::template Y<0> y; // { dg-error "template" } // { dg-bogus "with no type" "" { xfail *-*-* } 10 }