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
PR c++/85553
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
pr79361-1.C
blob
2960067be6aa2b2fbe4bafb4d9c912e52bb38f1a
1
// PR c++/79361
2
// { dg-do compile { target c++11 } }
3
4
template<typename T> void foo(T);
5
6
template<> void foo<int>(int) {} // { dg-message "declared" }
7
template<> void foo<int>(int) = delete; // { dg-error "redefinition" }