diff options
author | Bruno Haible <bruno@clisp.org> | 2010-03-13 16:20:41 +0100 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2010-03-13 16:20:41 +0100 |
commit | 14051499d596955d8c5e558f78826df4d8945ed1 (patch) | |
tree | c7e161b6578b72dd7bf6e4713bd1f8eb18755d34 /tests/test-time-c++2.cc | |
parent | 4735b7faf6be8578cd8109efead5b781abd1439d (diff) | |
download | gnulib-14051499d596955d8c5e558f78826df4d8945ed1.tar.gz |
Test that gnulib does not break the standard C++ headers.
Diffstat (limited to 'tests/test-time-c++2.cc')
-rw-r--r-- | tests/test-time-c++2.cc | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/test-time-c++2.cc b/tests/test-time-c++2.cc new file mode 100644 index 0000000000..d7b2bdd118 --- /dev/null +++ b/tests/test-time-c++2.cc @@ -0,0 +1,20 @@ +/* Test of <time.h> substitute in C++ mode. + Copyright (C) 2010 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 <http://www.gnu.org/licenses/>. */ + +#define GNULIB_NAMESPACE gnulib +#include <config.h> + +#include <ctime> |