Debian Codegraph @

gcc/testsuite/g++.dg/lookup/crash6.C

raw
1 // { dg-do compile }
2
3 // Origin: Volker Reichelt <[email protected]>
4
5 // PR c++/18652: ICE redeclaring variable as template.
6
7 int A; // { dg-message "previous declaration" }
8 template<int> struct A; // { dg-error "different kind of" }