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
/
typename18.C
blob
4134ef6f64bf8b100856ddf4be7fba2cd0e57b48
1
// { dg-do compile }
2
3
// These typename should work as they are types.
4
struct A
5
{
6
typedef int a;
7
template <int>
8
struct f {};
9
template<int> void foo(int i)
10
{
11
typename A::a(i1);
12
typename A::f<0>(i2);
13
}
14
};