//===----------------------------------------------------------------------===// // // The LLVM Compiler Infrastructure // // This file is dual licensed under the MIT and the University of Illinois Open // Source Licenses. See LICENSE.TXT for details. // //===----------------------------------------------------------------------===// // // template class weak_ptr // weak_ptr(); #include #include struct A; int main() { std::weak_ptr p; assert(p.use_count() == 0); }