summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2022-09-03 21:07:36 +0200
committerBruno Haible <bruno@clisp.org>2022-09-04 01:17:47 +0200
commit4e99bbd6bcf2778f12b854050eb6c22062c502e1 (patch)
treec13801ddca577a9478c11202c63673dde01c8854 /tests
parent7a5d8aeaa6ce87556658034db96a456690e0e227 (diff)
downloadgnulib-4e99bbd6bcf2778f12b854050eb6c22062c502e1.tar.gz
sys_uio: Add C++ tests.
* tests/test-sys_uio-c++.cc: New file. * modules/sys_uio-c++-tests: New file. * modules/sys_uio-tests (Depends-on): Add sys_uio-c++-tests.
Diffstat (limited to 'tests')
-rw-r--r--tests/test-sys_uio-c++.cc28
1 files changed, 28 insertions, 0 deletions
diff --git a/tests/test-sys_uio-c++.cc b/tests/test-sys_uio-c++.cc
new file mode 100644
index 0000000000..537947ba8e
--- /dev/null
+++ b/tests/test-sys_uio-c++.cc
@@ -0,0 +1,28 @@
+/* Test of <sys/uio.h> substitute in C++ mode.
+ Copyright (C) 2022 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 Bruno Haible <bruno@clisp.org>, 2022. */
+
+#define GNULIB_NAMESPACE gnulib
+#include <config.h>
+
+#include <sys/uio.h>
+
+
+int
+main ()
+{
+}