aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/lookup/crash6.C
blob: b824edda3db4e19591ed0bdcf5ad8114f78a299b (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-message "previous declaration" }
template<int> struct A; // { dg-error "different kind of" }