aboutsummaryrefslogtreecommitdiff
path: root/tests/test-limits-h-c++2.cc
diff options
context:
space:
mode:
authorDan Willemsen <dwillemsen@google.com>2022-03-29 01:18:04 -0700
committerDan Willemsen <dwillemsen@google.com>2022-03-29 01:19:29 -0700
commit24d5d8d1665f31b911b52d961938a1737f957c10 (patch)
tree4159a2dcfc6eb4837fb6732f78e23d70d3f270c9 /tests/test-limits-h-c++2.cc
parenta41dd3ba30d74cdaa946f453d0fe4035c3e2575d (diff)
downloadm4-24d5d8d1665f31b911b52d961938a1737f957c10.tar.gz
Upgrade to v1.4.19: replace contents with tarball
This preserves the Android-specific files, but replaces everything else with the contents of the 1.4.19 tarball. The METADATA update is the only change for the Android files, other updates will come in later changes. Change-Id: I9699b0fe119e7542e17497da8e4a11380b78867e
Diffstat (limited to 'tests/test-limits-h-c++2.cc')
-rw-r--r--tests/test-limits-h-c++2.cc20
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/test-limits-h-c++2.cc b/tests/test-limits-h-c++2.cc
new file mode 100644
index 0000000..f780f90
--- /dev/null
+++ b/tests/test-limits-h-c++2.cc
@@ -0,0 +1,20 @@
+/* Test of <limits.h> substitute in C++ mode.
+ Copyright (C) 2019-2021 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/>. */
+
+#define GNULIB_NAMESPACE gnulib
+#include <config.h>
+
+#include <climits>