YouCompleteMe/cpp/llvm/tools/clang/test/SemaTemplate/lookup-dependent-bases.cpp
Strahinja Val Markovic 1f51a89d39 Adding more llvm/clang files
These were ignored by git accidentally. We want ALL OF THEM since they all came
in the llvm/clang source distribution.
2012-07-05 17:55:45 -07:00

20 lines
256 B
C++

// RUN: %clang_cc1 -fms-extensions -fsyntax-only -verify %s
class C {
public:
static void foo2() { }
};
template <class T>
class A {
public:
typedef C D;
};
template <class T>
class B : public A<T> {
public:
void foo() {
D::foo2();
}
};