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
2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
ttp42.C
blob
53bdae1e9b8bc9ad75a7565b8d7ed530fb29109f
1
// { dg-do run }
2
template <class T, template <class T> class C>
3
struct X
4
{};
5
6
template <class T>
7
struct Y
8
{};
9
10
template <class T>
11
struct Z
12
{};
13
14
template <class T>
15
struct X<T,Y>
16
{};
17
18
int main()
19
{
20
X<int,Y> a;
21
X<int,Z> b;
22
}