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
/
debug1.C
blob
a2c1577029b49330e50af5b0844170331dd8783f
1
// PR c++/40274
2
// { dg-options "-g" }
3
4
template <class T> struct valuelist_types
5
{
6
struct null { };
7
template <T V, class next=null> struct list { };
8
};
9
10
template <unsigned D> void foo()
11
{
12
typename valuelist_types<unsigned>::template list<D> v;
13
}
14
15
void bar()
16
{
17
valuelist_types<unsigned>::list<2> v;
18
}