1 // PR c++/97511 2 // { dg-do compile { target c++11 } } 3 4 template <class Z> using Z = Z; // { dg-error "shadow|declaration" } 5