OSDN Git Service

* parser.c (cp_parser_class_specifier): Set class location to that
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / template / typedef7.C
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>;