blob: 49270644395f81f966c7383887fcbd1273e36a71 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
// Build don't link:
// Origin: Mark Mitchell <mark@codesourcery.com>
template <class T>
struct S {
typedef typename T::Y<T>::Z X; // ERROR - No Y in A
X x; // ERROR - No Y in A
};
struct A {
struct Y {
typedef A Z;
};
};
template struct S<A>;
|