blob: 499de52598b65fc7d0ef1211257ffcf795a87168 [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>
// template <> struct is_error_code_enum<future_errc> : public true_type {};
#include <future>
int main()
{
static_assert(std::is_error_code_enum<std::future_errc>::value, "");
}