repo.or.cz
/
gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Daily bump.
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
pr79361-2.C
blob
25562118ffa852af7d919964fe8980d9c476c33c
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) = default; // { dg-error "redefinition" }