]> git.proxmox.com Git - rustc.git/blob - src/llvm/tools/clang/test/SemaTemplate/typo-dependent-name.cpp
Imported Upstream version 0.6
[rustc.git] / src / llvm / tools / clang / test / SemaTemplate / typo-dependent-name.cpp
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 };