aboutsummaryrefslogtreecommitdiff
path: root/test/SemaCXX/using-decl-templates.cpp
diff options
context:
space:
mode:
authorAnders Carlsson <andersca@mac.com>2009-08-29 01:06:32 +0000
committerAnders Carlsson <andersca@mac.com>2009-08-29 01:06:32 +0000
commit598da5b01fa9e205f55db8b3b5cb20abec2d74cf (patch)
tree922ce9059fda2728a7fa12fab36cfd376cefcf7e /test/SemaCXX/using-decl-templates.cpp
parent203cb71998a39a9d01a29db135454a9e7f402235 (diff)
CreateDeclRefExprs that point to UnresolvedUsingDecls.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@80413 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/SemaCXX/using-decl-templates.cpp')
-rw-r--r--test/SemaCXX/using-decl-templates.cpp6
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(); }
+};