OSDN Git Service

/cp
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / lookup / crash6.C
1 // { dg-do compile }
2
3 // Origin: Volker Reichelt <reichelt@gcc.gnu.org>
4
5 // PR c++/18652: ICE redeclaring variable as template.
6
7 int A;                  // { dg-error "previous declaration" }
8 template<int> struct A; // { dg-error "different kind of symbol" }