1// RUN: %clang_cc1 -fms-extensions -fsyntax-only -verify %s
2
3class C {
4public:
5 static void foo2() { }
6};
7template <class T>
8class A {
9public:
10 typedef C D;
11};
12
13template <class T>
14class B : public A<T> {
15public:
16 void foo() {
17 D::foo2();
18 }
19};
20