Home | History | Annotate | Download | only in temp.expl.spec
      1 // RUN: %clang_cc1 -fsyntax-only -verify %s
      2 // expected-no-diagnostics
      3 
      4 namespace N {
      5   template<class T> class X { /* ... */ };
      6   template<class T> class Y { /* ... */ };
      7   template<> class X<int> { /* ... */ };
      8   template<> class Y<double>;
      9 
     10   const unsigned NumElements = 17;
     11 }
     12 
     13 template<> class N::Y<double> {
     14   int array[NumElements];
     15 };
     16