// { dg-do compile { target c++11 } } template struct A {}; template struct B: A {}; // { dg-error "type" }