5 template<typename T> struct shared_ptr { };
7 template<typename T, typename Arg>
8 shared_ptr<T> make_shared(Arg) { return shared_ptr<T>(); } // { dg-error "variably modified type|trying to instantiate" }
11 make_shared<int[n]>(1); // { dg-error "no matching function" }