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
/
defarg18.C
blob
ac0896606189addcc4eb3f05271e802c80c9fb2d
1
// PR c++/60067
2
3
template <class> struct A;
4
template <class> struct B { enum { v = 1 }; };
5
6
template <class T = void (A<int>)>
7
struct C {
8
void f () {
9
void g (int [B<T>::v]);
10
}
11
};
12
13
void foo (void) {
14
C<int>().f ();
15
}