//===----------------------------------------------------------------------===// // // 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. // //===----------------------------------------------------------------------===// // // class shared_future // shared_future(); #include #include int main() { { std::shared_future f; assert(!f.valid()); } { std::shared_future f; assert(!f.valid()); } { std::shared_future f; assert(!f.valid()); } }