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
/
ttp42.C
blob
b2610dfb123b1bb1f1d8807672a8bdc8bffa6c21
1
template <class T, template <class T> class C>
2
struct X
3
{};
4
5
template <class T>
6
struct Y
7
{};
8
9
template <class T>
10
struct Z
11
{};
12
13
template <class T>
14
struct X<T,Y>
15
{};
16
17
int main()
18
{
19
X<int,Y> a;
20
X<int,Z> b;
21
}