repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2014-01-30 Alangi Derick <alangiderick@gmail.com>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
redecl3.C
blob
faa29bf453d37ebc8e0469952542ac12724f22e3
1
// PR c++/19980
2
// Origin: Volker Reichelt <reichelt@igpm.rwth-aachen.de>
3
4
// { dg-do compile }
5
6
int foo; // { dg-message "previous declaration" }
7
template<int> void foo() {} // { dg-error "redeclared" }