changeset 16407:dfbb60f78aef

Tests for module 'fabsl'. * tests/test-math-c++.cc: Check the declaration of fabsl.
author Bruno Haible <bruno@clisp.org>
date Sat, 25 Feb 2012 13:44:43 +0100
parents cf418c889016
children b895d48831cd
files ChangeLog tests/test-math-c++.cc
diffstat 2 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,6 +3,7 @@
 	Tests for module 'fabsl'.
 	* modules/fabsl-tests: New file.
 	* tests/test-fabsl.c: New file.
+	* tests/test-math-c++.cc: Check the declaration of fabsl.
 
 	New module 'fabsl'.
 	* lib/math.in.h (fabsl): New declaration.
--- a/tests/test-math-c++.cc
+++ b/tests/test-math-c++.cc
@@ -120,6 +120,9 @@
 SIGNATURE_CHECK (GNULIB_NAMESPACE::fabsf, float, (float));
 #endif
 //SIGNATURE_CHECK (GNULIB_NAMESPACE::fabs, double, (double));
+#if GNULIB_TEST_FABSL
+SIGNATURE_CHECK (GNULIB_NAMESPACE::fabsl, long double, (long double));
+#endif
 
 #if GNULIB_TEST_FLOORF
 SIGNATURE_CHECK (GNULIB_NAMESPACE::floorf, float, (float));