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
2017-06-14 Paolo Carlini <paolo.carlini@oracle.com>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
ttp29.C
blob
7d4e03ab20b6c789d0daec880731e319a04b8a35
1
// PR c++/70778
2
3
template <class KeyType>
4
struct Stuff
5
{
6
template <KeyType, class>
7
struct AddToFront;
8
9
template <KeyType ToAdd, template<KeyType> class Holder, KeyType Indexs>
10
struct AddToFront<ToAdd, Holder<Indexs> >
11
{
12
};
13
};
14
15
template <unsigned>
16
struct Holder {};
17
18
int main()
19
{
20
Stuff<unsigned>::AddToFront<0, Holder<24> > t;
21
}