diff options
author | Marshall Clow <mclow.lists@gmail.com> | 2018-10-22 20:49:50 +0000 |
---|---|---|
committer | Marshall Clow <mclow.lists@gmail.com> | 2018-10-22 20:49:50 +0000 |
commit | 01cc58bfb0139bf3a758d01c9985f78144d0c70c (patch) | |
tree | 622aaa842f7ad7a62cfba0e76c496becf5ac8856 | |
parent | 05fe3296879748f40237693bd0df2897434db6eb (diff) | |
download | bcm5719-llvm-01cc58bfb0139bf3a758d01c9985f78144d0c70c.tar.gz bcm5719-llvm-01cc58bfb0139bf3a758d01c9985f78144d0c70c.zip |
Update commnents to reflect the changes for LWG#3127. NFC
llvm-svn: 344951
2 files changed, 31 insertions, 1 deletions
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. +// +//===----------------------------------------------------------------------===// +// +// <charconv> feature macros + +/* Constant Value + __cpp_lib_to_chars 201611L + +*/ + +#include <charconv> +#include "test_macros.h" + +int main() +{ +// ensure that the macros that are supposed to be defined in <utility> 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 */ |