//===----------------------------------------------------------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. 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()); } }