blob: 515946c67f69ab6b1b3181c3c5c6556838160a63 [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.
//
//===----------------------------------------------------------------------===//
// <future>
// const error_category& future_category();
#include <future>
#include <cstring>
#include <cassert>
int main()
{
const std::error_category& ec = std::future_category();
assert(std::strcmp(ec.name(), "future") == 0);
}