summaryrefslogtreecommitdiff
path: root/clang/test/SemaTemplate/lookup-dependent-bases.cpp
blob: 2710caf22125036d75c56d4fe904d8650ec33c66 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// 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();
   }
};