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
/
partial-specialization3.C
blob
c5f83bd9f1ce0ec8fe60f610a5be48af3be20773
1
// DR 2179
2
3
template <class T1, class T2> class A;
4
template <class T> struct A<T, void> { void f(); };
5
template <class T> void g(T) { A<char, void>().f(); } // #1
6
template<typename T> struct A<char, T> {}; // { dg-error "" }
7
A<char, void> f; // #2