// { dg-do compile } // Origin: Wolfgang Bangerth // PR c++/11106: Error message gives partially mangled operator name template struct S { struct I {}; }; template struct S2 : S { using S::operator typename S::I*; // { dg-error "operator S\\" "" } }; template struct S2; // { dg-error "instantiated" "" }