diff options
Diffstat (limited to 'test/SemaCXX/using-decl-templates.cpp')
-rw-r--r-- | test/SemaCXX/using-decl-templates.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/SemaCXX/using-decl-templates.cpp b/test/SemaCXX/using-decl-templates.cpp index 42442e2860..1a53704c1e 100644 --- a/test/SemaCXX/using-decl-templates.cpp +++ b/test/SemaCXX/using-decl-templates.cpp @@ -28,3 +28,9 @@ template <typename T> struct D : A<T> { }; template<typename T> void D<T>::f() { } + +template<typename T> struct E : A<T> { + using A<T>::f; + + void g() { f(); } +}; |