From ac127f95befc85d45e5e220ad0496e2f1228ca1c Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sat, 19 Dec 2020 00:28:02 +0100 Subject: [PATCH] free-posix: Add C++ declaration test. * tests/test-stdlib-c++.cc (free): New declaration. --- ChangeLog | 5 +++++ tests/test-stdlib-c++.cc | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/ChangeLog b/ChangeLog index 049f719580..4b7fe2652b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2020-12-18 Bruno Haible + free-posix: Add C++ declaration test. + * tests/test-stdlib-c++.cc (free): New declaration. + +2020-12-18 Bruno Haible + free-posix: New module, renamed from 'free'. * modules/free-posix: Renamed from modules/free. (configure.ac): Update gl_STDLIB_MODULE_INDICATOR invocation. diff --git a/tests/test-stdlib-c++.cc b/tests/test-stdlib-c++.cc index 09bae83afc..5eb72996a2 100644 --- a/tests/test-stdlib-c++.cc +++ b/tests/test-stdlib-c++.cc @@ -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 -- 2.11.4.GIT