2014-01-30 Alangi Derick <alangiderick@gmail.com>
[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" }