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
Merge from mainline.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
redecl3.C
blob
029f9e69a5fc1dc1e0cb7a933d17105b94496269
1
// PR c++/19980
2
// Origin: Volker Reichelt <reichelt@igpm.rwth-aachen.de>
3
4
// { dg-do compile }
5
6
int foo; // { dg-error "previous declaration" }
7
template<int> void foo() {} // { dg-error "redeclared" }