summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaCXX/using-decl-templates.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/SemaCXX/using-decl-templates.cpp')
-rw-r--r--clang/test/SemaCXX/using-decl-templates.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/clang/test/SemaCXX/using-decl-templates.cpp b/clang/test/SemaCXX/using-decl-templates.cpp
index 42442e28606..1a53704c1e6 100644
--- a/clang/test/SemaCXX/using-decl-templates.cpp
+++ b/clang/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(); }
+};
OpenPOWER on IntegriCloud