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