diff options
Diffstat (limited to 'test/PCH/cxx-templates.h')
-rw-r--r-- | test/PCH/cxx-templates.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/PCH/cxx-templates.h b/test/PCH/cxx-templates.h index c45e02d..152e8ce 100644 --- a/test/PCH/cxx-templates.h +++ b/test/PCH/cxx-templates.h @@ -205,3 +205,13 @@ namespace NonTypeTemplateParmContext { template<int inlineCapacity> inline bool equalIgnoringNullity(const Vector<char, inlineCapacity>& a, const String& b) { return false; } } + +// <rdar://problem/11112464> +template< typename > class Foo; + +template< typename T > +class Foo : protected T +{ + public: + Foo& operator=( const Foo& other ); +}; |