]> Savannah Git Hosting - gnulib.git/commitdiff
free-posix: Add C++ declaration test.
authorBruno Haible <bruno@clisp.org>
Fri, 18 Dec 2020 23:28:02 +0000 (00:28 +0100)
committerBruno Haible <bruno@clisp.org>
Fri, 18 Dec 2020 23:28:02 +0000 (00:28 +0100)
* tests/test-stdlib-c++.cc (free): New declaration.

ChangeLog
tests/test-stdlib-c++.cc

index 049f71958019e58d15ddca49d5b0120b93672211..4b7fe2652b9b26af670af29de5e8a41cae769437 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2020-12-18  Bruno Haible  <bruno@clisp.org>
+
+       free-posix: Add C++ declaration test.
+       * tests/test-stdlib-c++.cc (free): New declaration.
+
 2020-12-18  Bruno Haible  <bruno@clisp.org>
 
        free-posix: New module, renamed from 'free'.
index 09bae83afcdac46adef297648c325b09f92beee4..5eb72996a211a45fb9c7dcd2325a489f0dc78a1d 100644 (file)
@@ -47,6 +47,10 @@ SIGNATURE_CHECK (GNULIB_NAMESPACE::canonicalize_file_name, char *,
                  (const char *));
 #endif
 
+#if GNULIB_TEST_FREE_POSIX
+SIGNATURE_CHECK (GNULIB_NAMESPACE::free, void, (void *));
+#endif
+
 #if GNULIB_TEST_GETLOADAVG
 SIGNATURE_CHECK (GNULIB_NAMESPACE::getloadavg, int, (double[], int));
 #endif