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++/81917 - ICE with void_t and partial specialization.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
pr83825.C
blob
ba3ff4dcee248dc61e1954e066466a8960387fc0
1
// PR c++/83825
2
// { dg-do compile }
3
4
template <int A>
5
class A {}; // { dg-error "shadows template parameter" }
6
7
template <int I>
8
class B
9
{
10
void foo () { A <I> a; }
11
};
12
13
template void B <0>::foo ();