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
FSF GCC merge 02/23/03
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
nttp1.C
blob
36b743848c4e83f6f3b7ce8c5050e58f13c61b62
1
// Test for nested template template parameter feature
2
3
template <template<template <class> class> class TTT> struct C
4
{
5
int f();
6
};
7
8
template <template<template <class> class> class TTT> int C<TTT>::f()
9
{
10
return 0;
11
}
12
13
template <template <class> class TT> struct D
14
{
15
};
16
17
int main()
18
{
19
C<D> c;
20
c.f();
21
}