1 // An intermediate version of the fix for c++/19407 broke this example.
2 
3 struct A
4 {
5   typedef struct { int i; } S;
6 };
7 
8 template <class T>
9 struct B: public A
10 {
11   template <class U>
12   static S f ();
13 };
14 
15 template struct B<int>;
16