typo-dependent-name.cpp 259 B

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