llvm-project/clang/test/SemaTemplate/instantiate-using-decl.cpp

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>;