[libcxx] r344951 - Update commnents to reflect the changes for LWG#3127. NFC
Marshall Clow
mclow.lists at gmail.com
Mon Oct 22 13:49:50 PDT 2018
Author: marshall
Date: Mon Oct 22 13:49:50 2018
New Revision: 344951
URL: http://llvm.org/viewvc/llvm-project?rev=344951&view=rev
Log:
Update commnents to reflect the changes for LWG#3127. NFC
Added:
libcxx/trunk/test/std/language.support/support.limits/support.limits.general/charconv.pass.cpp
Modified:
libcxx/trunk/test/std/language.support/support.limits/support.limits.general/utility.version.pass.cpp
Added: libcxx/trunk/test/std/language.support/support.limits/support.limits.general/charconv.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.limits/support.limits.general/charconv.pass.cpp?rev=344951&view=auto
==============================================================================
--- libcxx/trunk/test/std/language.support/support.limits/support.limits.general/charconv.pass.cpp (added)
+++ libcxx/trunk/test/std/language.support/support.limits/support.limits.general/charconv.pass.cpp Mon Oct 22 13:49:50 2018
@@ -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
+*/
+}
Modified: libcxx/trunk/test/std/language.support/support.limits/support.limits.general/utility.version.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/language.support/support.limits/support.limits.general/utility.version.pass.cpp?rev=344951&r1=344950&r2=344951&view=diff
==============================================================================
--- libcxx/trunk/test/std/language.support/support.limits/support.limits.general/utility.version.pass.cpp (original)
+++ libcxx/trunk/test/std/language.support/support.limits/support.limits.general/utility.version.pass.cpp Mon Oct 22 13:49:50 2018
@@ -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
*/
More information about the libcxx-commits
mailing list