blob: faa29bf453d37ebc8e0469952542ac12724f22e3 [file] [log] [blame]
// PR c++/19980
// Origin: Volker Reichelt <reichelt@igpm.rwth-aachen.de>
// { dg-do compile }
int foo; // { dg-message "previous declaration" }
template<int> void foo() {} // { dg-error "redeclared" }