// { dg-do compile } // Origin: Volker Reichelt // PR c++/18652: ICE redeclaring variable as template. int A; // { dg-error "previous declaration" } template struct A; // { dg-error "different kind of symbol" }