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
/
t06.C
blob
8681f5332fa99d64e8ee003f4a7bccc008ac2595
1
// Build don't link:
2
3
typedef int I;
4
int i;
5
6
template <class A> class B {
7
A a;
8
public:
9
B(A&aa);
10
B();
11
~B();
12
};
13
14
template <class B> class C { public: B b; };
15
16
template <class I, class i> class D : I { public: i ii; };
17
18
typedef B<int> b_int;
19
typedef C<int> c_int;
20
typedef C<b_int> c_b_int2;
21
22
c_b_int2 x2;
23
int z;
24
D<c_b_int2,b_int> d;
25
int q;