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
/
pr61537.C
blob
12aaf58ef6218f38b9d00956ffb3cd327149d0c7
1
// PR c++/61537
2
// { dg-do compile }
3
4
struct A {};
5
6
template <typename T>
7
struct B
8
{
9
template <typename U>
10
void f(U, struct A);
11
};
12
13
template <typename T>
14
template <typename U>
15
void B<T>::f(U, struct A)
16
{
17
}
18
19
int main()
20
{
21
B<char> b;
22
b.f(42, A());
23
}