blob: e741dd06e4b97d8ab9f92e0a2e534dc46199e749 [file] [log] [blame]
//===----------------------------------------------------------------------===//
//
// 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.
//
//===----------------------------------------------------------------------===//
//
// UNSUPPORTED: libcpp-has-no-threads
// <future>
// class future_error : public logic_error {...};
#include <future>
#include <type_traits>
int main()
{
static_assert((std::is_convertible<std::future_error*,
std::logic_error*>::value), "");
}