Douglas Gregor | 2e93388 | 2010-01-12 17:06:20 +0000 | [diff] [blame^] | 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 | }; |