2 // { dg-do compile { target c++11 } }
3 // { dg-options "-Wreturn-type" }
11 template <typename K, typename V>
15 WeakMapPtr() : ptr(nullptr) {};
19 WeakMapPtr(const WeakMapPtr &wmp) = delete;
20 WeakMapPtr &operator=(const WeakMapPtr &wmp) = delete;
23 template <typename K, typename V>
24 bool WeakMapPtr<K, V>::init(AAA *cx)
36 template class WeakMapPtr<JSObject*, JSObject*>;