//===----------------------------------------------------------------------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------------------------------------===// // // class future // future(); #include #include int main() { { std::future f; assert(!f.valid()); } { std::future f; assert(!f.valid()); } { std::future f; assert(!f.valid()); } }