// PR c++/8596 // Origin: Wolfgang Bangerth // { dg-do compile } template struct A {}; template struct B : A{}; // { dg-error "" }