OSDN Git Service

* parser.c (cp_parser_class_specifier): Set class location to that
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / template / dtor8.C
1 // PR c++/43648
2
3 namespace dealii
4 {
5   namespace FEValuesViews
6   {
7     template <int dim, int spacedim> struct Scalar {};
8   }
9
10   template <int dim, int spacedim>
11   struct X
12   {
13       FEValuesViews::Scalar<dim,spacedim> scalars[dim*spacedim];
14
15       void f()
16         {
17           typedef dealii::FEValuesViews::Scalar<dim,spacedim> ScalarView;
18           scalars[0].ScalarView::~ScalarView ();
19         }
20   };
21
22   template struct X<2,2>;
23 }