// RUN: %clang_cc1 -fsyntax-only -verify %s
// expected-no-diagnostics
namespace llvm {
  template<typename T > struct StringSet;
  template<int I > struct Int;
  template <typename Inner, template <typename> class Outer>
    struct TemplTempl;
}

namespace lld {
  using llvm::StringSet;
  using llvm::Int;
  using llvm::TemplTempl;
};

namespace llvm {
  template<typename T > struct StringSet;
}

template<typename T> struct Temp{};

namespace llvm {
  template<typename T = int> struct StringSet{};
  template<int I = 5> struct Int{};
  template <typename Inner, template <typename> class Outer = Temp>
    struct TemplTempl{};
};

namespace lld {
  StringSet<> s;
  Int<> i;
  TemplTempl<int> tt;
}

Add Forgotten test for: Fix template parameter default args missed if redecled
Add Forgotten test for: Fix template parameter default args missed if redecled

Addendum to differential revision: https://reviews.llvm.org/D39127


git-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@316437 91177308-0d34-0410-b5e6-96231b3b80d8
