OSDN Git Service

* parser.c (cp_parser_class_specifier): Set class location to that
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.old-deja / g++.jason / template21.C
1 // { dg-do assemble  }
2 // Gosh, this works!
3
4 template<class T>
5 struct A
6 {
7     struct B
8     {
9         void bar();
10     };
11     struct C { };
12 };
13
14 template<class T> void A<T>::B::bar() { }
15
16 template class A<int>;