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