aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/lookup/crash6.C
blob: 0e49324bf273cbfa31cb26ec736cbf957afff494 (plain)
1
2
3
4
5
6
7
8
// { dg-do compile }

// Origin: Volker Reichelt <reichelt@gcc.gnu.org>

// PR c++/18652: ICE redeclaring variable as template.

int A;			// { dg-error "previous declaration" }
template<int> struct A; // { dg-error "different kind of symbol" }