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++/84702] ICE with default tmpl arg of overload set
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
access22.C
blob
9ee28a2a08d3241a6950e5e42d0af9bd4527558c
1
template <int I> struct B { };
2
3
template <class T>
4
B<T::I> f();
5
6
class A
7
{
8
static const int I = 42;
9
template <class T> friend B<T::I> f();
10
};
11
12
int main()
13
{
14
f<A>();
15
}