diff options
Diffstat (limited to 'clang/test')
| -rw-r--r-- | clang/test/PCH/cxx-templates.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/clang/test/PCH/cxx-templates.h b/clang/test/PCH/cxx-templates.h index c089e1c5a9b..b562f471f86 100644 --- a/clang/test/PCH/cxx-templates.h +++ b/clang/test/PCH/cxx-templates.h @@ -55,3 +55,13 @@ inline T make_a(const A1& a1) { T::depend_declref(); return T(a1); } + +template <class T> class UseBase { + void foo(); + typedef int bar; +}; + +template <class T> class UseA : public UseBase<T> { + using UseBase<T>::foo; + using typename UseBase<T>::bar; +}; |

