Home | History | Annotate | Download | only in SemaTemplate
      1 // RUN: %clang_cc1 -fsyntax-only -verify %s
      2 
      3 template<typename T>
      4 struct Base {
      5   T inner;
      6 };
      7 
      8 template<typename T>
      9 struct X {
     10   template<typename U>
     11   struct Inner {
     12   };
     13 
     14   bool f(T other) {
     15     return this->inner < other;
     16   }
     17 };
     18