diff options
Diffstat (limited to 'test/Modules/Inputs/DebugCXX.h')
-rw-r--r-- | test/Modules/Inputs/DebugCXX.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/Modules/Inputs/DebugCXX.h b/test/Modules/Inputs/DebugCXX.h index 793ad209f8bf..c9cd68f30c46 100644 --- a/test/Modules/Inputs/DebugCXX.h +++ b/test/Modules/Inputs/DebugCXX.h @@ -105,3 +105,9 @@ template <> struct Specialized<int> { template <class T> struct FwdDeclTemplateMember { struct Member; }; typedef FwdDeclTemplateMember<int>::Member TypedefFwdDeclTemplateMember; + +// Base class specialized on the class itself. +template <typename Derived> class BaseTemplate {}; +template <typename T> +class WithSpecializedBase : public BaseTemplate<WithSpecializedBase<T>> {}; +typedef WithSpecializedBase<float> SpecializedBase; |