freebsd-dev/test/SemaTemplate/instantiate-using-decl.cpp
2009-10-14 18:03:49 +00:00

18 lines
204 B
C++

// RUN: clang-cc -fsyntax-only -verify %s
template<typename T>
struct A {
void f();
};
template<typename T>
struct B : A<T> {
using A<T>::f;
void g() {
f();
}
};
template struct B<int>;