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
Fix PR c++/69139 (deduction failure with trailing return type)
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
deleted5.C
blob
51010efda7854f6c5ad9827d107dab0c09690df3
1
// PR c++/58582
2
// { dg-do compile { target c++11 } }
3
4
struct A
5
{
6
template<int> void foo() = delete;
7
};
8
9
template<int> void A::foo() {} // { dg-error "redefinition" }
10
11
template void A::foo<0>();