blob: 5dc259d28221d3048ad5cff0d4a57874fa02fa26 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
// Build don't link:
template<class T>
struct A {
typedef T T1;
};
template<class T>
struct B : T::T1 { // insert `typename' before T::T1
};
struct C { };
B<A<C> > z;
|