freebsd-nq/test/SemaTemplate/instantiate-elab-type-specifier.cpp
2010-04-02 08:55:10 +00:00

14 lines
236 B
C++

// RUN: %clang_cc1 -fsyntax-only -verify %s
// PR5681
template <class T> struct Base {
struct foo {};
int foo;
};
template <class T> struct Derived : Base<T> {
typedef struct Base<T>::foo type;
};
template struct Derived<int>;