+2024-05-25 Collin Funk <collin.funk1@gmail.com>
+
+ byteswap tests: Verify header can be used from C++.
+ * modules/byteswap-c++-tests: New file.
+ * tests/test-byteswap-c++.cc: New file.
+ * modules/byteswap-tests (Depends-on): Add byteswap-c++-tests.
+
2024-05-24 Collin Funk <collin.funk1@gmail.com>
readutmp: Fix dependencies.
--- /dev/null
+Files:
+tests/test-byteswap-c++.cc
+
+Status:
+c++-test
+
+Depends-on:
+ansi-c++-opt
+
+configure.ac:
+
+Makefile.am:
+if ANSICXX
+TESTS += test-byteswap-c++
+check_PROGRAMS += test-byteswap-c++
+test_byteswap_c___SOURCES = test-byteswap-c++.cc
+endif
--- /dev/null
+/* Test the <byteswap.h> substitute in C++ mode.
+ Copyright (C) 2024 Free Software Foundation, Inc.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <https://www.gnu.org/licenses/>. */
+
+/* Written by Collin Funk <collin.funk1@gmail.com>, 2024. */
+
+#define GNULIB_NAMESPACE gnulib
+#include <config.h>
+
+#include <byteswap.h>
+
+int
+main ()
+{
+}