From 01cc58bfb0139bf3a758d01c9985f78144d0c70c Mon Sep 17 00:00:00 2001 From: Marshall Clow Date: Mon, 22 Oct 2018 20:49:50 +0000 Subject: Update commnents to reflect the changes for LWG#3127. NFC llvm-svn: 344951 --- .../support.limits.general/charconv.pass.cpp | 31 ++++++++++++++++++++++ .../utility.version.pass.cpp | 1 - 2 files changed, 31 insertions(+), 1 deletion(-) create mode 100644 libcxx/test/std/language.support/support.limits/support.limits.general/charconv.pass.cpp (limited to 'libcxx/test/std/language.support/support.limits/support.limits.general') diff --git a/libcxx/test/std/language.support/support.limits/support.limits.general/charconv.pass.cpp b/libcxx/test/std/language.support/support.limits/support.limits.general/charconv.pass.cpp new file mode 100644 index 00000000000..26147fc5451 --- /dev/null +++ b/libcxx/test/std/language.support/support.limits/support.limits.general/charconv.pass.cpp @@ -0,0 +1,31 @@ +//===----------------------------------------------------------------------===// +// +// 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. +// +//===----------------------------------------------------------------------===// +// +// feature macros + +/* Constant Value + __cpp_lib_to_chars 201611L + +*/ + +#include +#include "test_macros.h" + +int main() +{ +// ensure that the macros that are supposed to be defined in are defined. + +/* +#if !defined(__cpp_lib_fooby) +# error "__cpp_lib_fooby is not defined" +#elif __cpp_lib_fooby < 201606L +# error "__cpp_lib_fooby has an invalid value" +#endif +*/ +} diff --git a/libcxx/test/std/language.support/support.limits/support.limits.general/utility.version.pass.cpp b/libcxx/test/std/language.support/support.limits/support.limits.general/utility.version.pass.cpp index e67cb94d87e..8f0322d8626 100644 --- a/libcxx/test/std/language.support/support.limits/support.limits.general/utility.version.pass.cpp +++ b/libcxx/test/std/language.support/support.limits/support.limits.general/utility.version.pass.cpp @@ -14,7 +14,6 @@ __cpp_lib_as_const 201510L __cpp_lib_exchange_function 201304L __cpp_lib_integer_sequence 201304L - __cpp_lib_to_chars 201611L __cpp_lib_tuples_by_type 201304L */ -- cgit v1.2.3