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