1 // { dg-do compile { target c++11 } }
2 
3 class A { };
4 template<typename> using UniquePtr = int;
5 template<typename AllocPolicy> struct BufferList {
6   BufferList(unsigned, unsigned, unsigned, AllocPolicy = AllocPolicy());
7 };
8 class D : BufferList<A> {
9   using BufferList::BufferList;
10 };
MakeUnique(Args...aArgs)11 template<typename , typename... Args> UniquePtr<D> MakeUnique(Args... aArgs)
12 {
13   D d(aArgs...);
14   return 0;
15 }
16 UniquePtr<D> setCloneBuffer_impl_buf = MakeUnique<D>(0, 0, 0);
17