diff options
author | Bruno Haible <bruno@clisp.org> | 2022-09-03 21:13:35 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2022-09-04 01:17:47 +0200 |
commit | 753806a3a15d1a8021e6edc465b965fd5e6a3a81 (patch) | |
tree | 7f0796e0b438233681b7867b00ab344f5cdded7d /tests | |
parent | 0839c678348e6b5e5965dc9b5eb62770dab31c3d (diff) | |
download | gnulib-753806a3a15d1a8021e6edc465b965fd5e6a3a81.tar.gz |
sysexits: Add C++ tests.
* tests/test-sysexits-c++.cc: New file.
* modules/sysexits-c++-tests: New file.
* modules/sysexits-tests (Depends-on): Add sysexits-c++-tests.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test-sysexits-c++.cc | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/tests/test-sysexits-c++.cc b/tests/test-sysexits-c++.cc new file mode 100644 index 0000000000..619369d5a0 --- /dev/null +++ b/tests/test-sysexits-c++.cc @@ -0,0 +1,28 @@ +/* Test of <sysexits.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 <sysexits.h> + + +int +main () +{ +} |