mirror of
https://github.com/opnsense/src.git
synced 2026-02-28 12:20:54 -05:00
20 lines
244 B
C++
20 lines
244 B
C++
// RUN: clang-cc -fsyntax-only -verify %s
|
|
|
|
namespace N { }
|
|
|
|
template<typename T>
|
|
struct A {
|
|
void f();
|
|
};
|
|
|
|
template<typename T>
|
|
struct B : A<T> {
|
|
using A<T>::f;
|
|
|
|
void g() {
|
|
using namespace N;
|
|
f();
|
|
}
|
|
};
|
|
|
|
template struct B<int>;
|