diff options
author | Bruno Haible <bruno@clisp.org> | 2022-09-03 20:33:32 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2022-09-03 20:33:32 +0200 |
commit | c6dc4ec6cac1c2ecac037df50d83ff7267eb144a (patch) | |
tree | 0ee14550b6643a4fc3e071317ccbab63a08ca750 /tests | |
parent | 9873e7b560392a33250c9ee7cbb7d3d235fc1c5b (diff) | |
download | gnulib-c6dc4ec6cac1c2ecac037df50d83ff7267eb144a.tar.gz |
netinet_in: Add C++ tests.
* tests/test-netinet_in-c++.cc: New file.
* modules/netinet_in-c++-tests: New file.
* modules/netinet_in-tests (Depends-on): Add netinet_in-c++-tests.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test-netinet_in-c++.cc | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/tests/test-netinet_in-c++.cc b/tests/test-netinet_in-c++.cc new file mode 100644 index 0000000000..e28192573f --- /dev/null +++ b/tests/test-netinet_in-c++.cc @@ -0,0 +1,28 @@ +/* Test of <netinet/in.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 <netinet/in.h> + + +int +main () +{ +} |