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
/
operator14.C
blob
6267dbb140a4d2723bb1cbd982471c866e291bfd
1
// DR 2007
2
// We shouldn't instantiate A<void> to lookup operator=, since operator=
3
// must be a non-static member function.
4
5
template<typename T> struct A { typename T::error e; };
6
template<typename T> struct B { };
7
B<A<void> > b1, &b2 = (b1 = b1);