diff options
author | Anders Carlsson <andersca@mac.com> | 2009-08-29 01:06:32 +0000 |
---|---|---|
committer | Anders Carlsson <andersca@mac.com> | 2009-08-29 01:06:32 +0000 |
commit | 598da5b01fa9e205f55db8b3b5cb20abec2d74cf (patch) | |
tree | 922ce9059fda2728a7fa12fab36cfd376cefcf7e /test/SemaCXX/using-decl-templates.cpp | |
parent | 203cb71998a39a9d01a29db135454a9e7f402235 (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.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(); } +}; |