 ===================================================================
 --- tools/clang/test/Modules/Inputs/redecl_templates_left.h	(revision 0)
 +++ tools/clang/test/Modules/Inputs/redecl_templates_left.h	(revision 0)
-@@ -0,0 +1,30 @@
+@@ -0,0 +1,31 @@
 +//namespace L {
 +   // template <typename T> class AA;
 +   // template <typename T> class AA {};

   // Variables with the same type and linkage match.
   if (VarDecl *VarX = dyn_cast<VarDecl>(X)) {
     VarDecl *VarY = cast<VarDecl>(Y);
@@ -1744,20 +1761,26 @@
     NamespaceDecl *NamespaceY = cast<NamespaceDecl>(Y);
     return NamespaceX->isInline() == NamespaceY->isInline();
   }

         return FindExistingResult(Reader, D, *R.first);
     }
   }
@@ -1798,22 +1822,41 @@
 void ASTDeclReader::attachPreviousDecl(Decl *D, Decl *previous) {
   assert(D && previous);
   if (TagDecl *TD = dyn_cast<TagDecl>(D)) {
