summaryrefslogtreecommitdiffstats
path: root/clang/test/PCH/cxx-templates.h
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/PCH/cxx-templates.h')
-rw-r--r--clang/test/PCH/cxx-templates.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/clang/test/PCH/cxx-templates.h b/clang/test/PCH/cxx-templates.h
index c45e02dcb23..152e8cef546 100644
--- a/clang/test/PCH/cxx-templates.h
+++ b/clang/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 );
+};
OpenPOWER on IntegriCloud