// PR c++/13314 // { dg-options "-O2" } struct A { template struct B; }; struct A::B {}; // { dg-error "" } A::B<0> b; // { dg-error "" }