PR c++/81917 - ICE with void_t and partial specialization.
[official-gcc.git] / gcc / testsuite / g++.dg / template / redecl3.C
blobfaa29bf453d37ebc8e0469952542ac12724f22e3
1 // PR c++/19980
2 // Origin: Volker Reichelt <reichelt@igpm.rwth-aachen.de>
4 // { dg-do compile }
6 int foo;                    // { dg-message "previous declaration" }
7 template<int> void foo() {} // { dg-error "redeclared" }