Mercurial > gnulib
annotate tests/test-string-c++.cc @ 40231:9b3c79fdfe0b
strtod: fix clash with strtold
Problem reported for RHEL 5 by Jesse Caldwell (Bug#34817).
* lib/strtod.c (compute_minus_zero, minus_zero):
Simplify by remving the macro / external variable,
and having just a function. User changed. This avoids
the need for an external variable that might clash.
author | Paul Eggert <eggert@cs.ucla.edu> |
---|---|
date | Mon, 11 Mar 2019 16:40:29 -0700 |
parents | b06060465f09 |
children |
rev | line source |
---|---|
12966
017fad0ce90e
Tests of module 'string' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
1 /* Test of <string.h> substitute in C++ mode. |
40057
b06060465f09
maint: Run 'make update-copyright'
Paul Eggert <eggert@cs.ucla.edu>
parents:
19484
diff
changeset
|
2 Copyright (C) 2010-2019 Free Software Foundation, Inc. |
12966
017fad0ce90e
Tests of module 'string' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
3 |
017fad0ce90e
Tests of module 'string' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
4 This program is free software: you can redistribute it and/or modify |
017fad0ce90e
Tests of module 'string' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
5 it under the terms of the GNU General Public License as published by |
017fad0ce90e
Tests of module 'string' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
6 the Free Software Foundation; either version 3 of the License, or |
017fad0ce90e
Tests of module 'string' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
7 (at your option) any later version. |
017fad0ce90e
Tests of module 'string' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
8 |
017fad0ce90e
Tests of module 'string' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
9 This program is distributed in the hope that it will be useful, |
017fad0ce90e
Tests of module 'string' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
10 but WITHOUT ANY WARRANTY; without even the implied warranty of |
017fad0ce90e
Tests of module 'string' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
017fad0ce90e
Tests of module 'string' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
12 GNU General Public License for more details. |
017fad0ce90e
Tests of module 'string' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
13 |
017fad0ce90e
Tests of module 'string' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
14 You should have received a copy of the GNU General Public License |
19190 | 15 along with this program. If not, see <https://www.gnu.org/licenses/>. */ |
12966
017fad0ce90e
Tests of module 'string' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
16 |
017fad0ce90e
Tests of module 'string' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
17 /* Written by Bruno Haible <bruno@clisp.org>, 2010. */ |
017fad0ce90e
Tests of module 'string' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
18 |
017fad0ce90e
Tests of module 'string' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
19 #define GNULIB_NAMESPACE gnulib |
017fad0ce90e
Tests of module 'string' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
20 #include <config.h> |
017fad0ce90e
Tests of module 'string' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
21 |
017fad0ce90e
Tests of module 'string' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
22 #include <string.h> |
017fad0ce90e
Tests of module 'string' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
23 |
017fad0ce90e
Tests of module 'string' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
24 #include "signature.h" |
017fad0ce90e
Tests of module 'string' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
25 |
017fad0ce90e
Tests of module 'string' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
26 |
18862 | 27 #if GNULIB_TEST_FFSL |
28 SIGNATURE_CHECK (GNULIB_NAMESPACE::ffsl, int, (long int)); | |
29 #endif | |
30 | |
31 #if GNULIB_TEST_FFSLL | |
32 SIGNATURE_CHECK (GNULIB_NAMESPACE::ffsll, int, (long long int)); | |
33 #endif | |
34 | |
13073
03de1efbfdd3
Resolve conflict between the two kinds of module indicators.
Bruno Haible <bruno@clisp.org>
parents:
12966
diff
changeset
|
35 #if GNULIB_TEST_MEMCHR |
12966
017fad0ce90e
Tests of module 'string' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
36 SIGNATURE_CHECK (GNULIB_NAMESPACE::memchr, void *, |
017fad0ce90e
Tests of module 'string' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
37 (void const *, int, size_t)); |
017fad0ce90e
Tests of module 'string' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
38 #endif |
017fad0ce90e
Tests of module 'string' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
39 |
017fad0ce90e
Tests of module 'string' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
40 //SIGNATURE_CHECK (GNULIB_NAMESPACE::memcmp, int, |
017fad0ce90e
Tests of module 'string' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
41 // (void const *, void const *, size_t)); |
017fad0ce90e
Tests of module 'string' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
42 |
13073
03de1efbfdd3
Resolve conflict between the two kinds of module indicators.
Bruno Haible <bruno@clisp.org>
parents:
12966
diff
changeset
|
43 #if GNULIB_TEST_MEMMEM |
12966
017fad0ce90e
Tests of module 'string' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
44 SIGNATURE_CHECK (GNULIB_NAMESPACE::memmem, void *, |
017fad0ce90e
Tests of module 'string' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
45 (void const *, size_t, void const *, size_t)); |
017fad0ce90e
Tests of module 'string' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
46 #endif |
017fad0ce90e
Tests of module 'string' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
47 |
13073
03de1efbfdd3
Resolve conflict between the two kinds of module indicators.
Bruno Haible <bruno@clisp.org>
parents:
12966
diff
changeset
|
48 #if GNULIB_TEST_MEMPCPY |
12966
017fad0ce90e
Tests of module 'string' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
49 SIGNATURE_CHECK (GNULIB_NAMESPACE::mempcpy, void *, |
017fad0ce90e
Tests of module 'string' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
50 (void *, void const *, size_t)); |
017fad0ce90e
Tests of module 'string' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
51 #endif |
017fad0ce90e
Tests of module 'string' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
52 |
13073
03de1efbfdd3
Resolve conflict between the two kinds of module indicators.
Bruno Haible <bruno@clisp.org>
parents:
12966
diff
changeset
|
53 #if GNULIB_TEST_MEMRCHR |
12966
017fad0ce90e
Tests of module 'string' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
54 SIGNATURE_CHECK (GNULIB_NAMESPACE::memrchr, void *, |
017fad0ce90e
Tests of module 'string' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
55 (void const *, int, size_t)); |
017fad0ce90e
Tests of module 'string' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
56 #endif |
017fad0ce90e
Tests of module 'string' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
57 |
13073
03de1efbfdd3
Resolve conflict between the two kinds of module indicators.
Bruno Haible <bruno@clisp.org>
parents:
12966
diff
changeset
|
58 #if GNULIB_TEST_RAWMEMCHR |
12966
017fad0ce90e
Tests of module 'string' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
59 SIGNATURE_CHECK (GNULIB_NAMESPACE::rawmemchr, void *, (void const *, int)); |
017fad0ce90e
Tests of module 'string' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
60 #endif |
017fad0ce90e
Tests of module 'string' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
61 |
13073
03de1efbfdd3
Resolve conflict between the two kinds of module indicators.
Bruno Haible <bruno@clisp.org>
parents:
12966
diff
changeset
|
62 #if GNULIB_TEST_STPCPY |
12966
017fad0ce90e
Tests of module 'string' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
63 SIGNATURE_CHECK (GNULIB_NAMESPACE::stpcpy, char *, (char *, char const *)); |
017fad0ce90e
Tests of module 'string' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
64 #endif |
017fad0ce90e
Tests of module 'string' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
65 |
13073
03de1efbfdd3
Resolve conflict between the two kinds of module indicators.
Bruno Haible <bruno@clisp.org>
parents:
12966
diff
changeset
|
66 #if GNULIB_TEST_STPNCPY |
12966
017fad0ce90e
Tests of module 'string' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
67 SIGNATURE_CHECK (GNULIB_NAMESPACE::stpncpy, char *, |
017fad0ce90e
Tests of module 'string' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
68 (char *, char const *, size_t)); |
017fad0ce90e
Tests of module 'string' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
69 #endif |
017fad0ce90e
Tests of module 'string' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
70 |
13073
03de1efbfdd3
Resolve conflict between the two kinds of module indicators.
Bruno Haible <bruno@clisp.org>
parents:
12966
diff
changeset
|
71 #if GNULIB_TEST_STRCHRNUL |
12966
017fad0ce90e
Tests of module 'string' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
72 SIGNATURE_CHECK (GNULIB_NAMESPACE::strchrnul, char *, (char const *, int)); |
017fad0ce90e
Tests of module 'string' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
73 #endif |
017fad0ce90e
Tests of module 'string' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
74 |
13073
03de1efbfdd3
Resolve conflict between the two kinds of module indicators.
Bruno Haible <bruno@clisp.org>
parents:
12966
diff
changeset
|
75 #if GNULIB_TEST_STRDUP |
12966
017fad0ce90e
Tests of module 'string' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
76 SIGNATURE_CHECK (GNULIB_NAMESPACE::strdup, char *, (char const *)); |
017fad0ce90e
Tests of module 'string' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
77 #endif |
017fad0ce90e
Tests of module 'string' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
78 |
13175 | 79 #if GNULIB_TEST_STRNCAT |
80 SIGNATURE_CHECK (GNULIB_NAMESPACE::strncat, char *, | |
81 (char *, const char *, size_t)); | |
82 #endif | |
83 | |
13073
03de1efbfdd3
Resolve conflict between the two kinds of module indicators.
Bruno Haible <bruno@clisp.org>
parents:
12966
diff
changeset
|
84 #if GNULIB_TEST_STRNDUP |
12966
017fad0ce90e
Tests of module 'string' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
85 SIGNATURE_CHECK (GNULIB_NAMESPACE::strndup, char *, (char const *, size_t)); |
017fad0ce90e
Tests of module 'string' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
86 #endif |
017fad0ce90e
Tests of module 'string' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
87 |
13073
03de1efbfdd3
Resolve conflict between the two kinds of module indicators.
Bruno Haible <bruno@clisp.org>
parents:
12966
diff
changeset
|
88 #if GNULIB_TEST_STRNLEN |
12966
017fad0ce90e
Tests of module 'string' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
89 SIGNATURE_CHECK (GNULIB_NAMESPACE::strnlen, size_t, (char const *, size_t)); |
017fad0ce90e
Tests of module 'string' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
90 #endif |
017fad0ce90e
Tests of module 'string' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
91 |
13073
03de1efbfdd3
Resolve conflict between the two kinds of module indicators.
Bruno Haible <bruno@clisp.org>
parents:
12966
diff
changeset
|
92 #if GNULIB_TEST_STRPBRK |
12966
017fad0ce90e
Tests of module 'string' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
93 SIGNATURE_CHECK (GNULIB_NAMESPACE::strpbrk, char *, |
017fad0ce90e
Tests of module 'string' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
94 (char const *, char const *)); |
017fad0ce90e
Tests of module 'string' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
95 #endif |
017fad0ce90e
Tests of module 'string' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
96 |
13073
03de1efbfdd3
Resolve conflict between the two kinds of module indicators.
Bruno Haible <bruno@clisp.org>
parents:
12966
diff
changeset
|
97 #if GNULIB_TEST_STRSEP |
12966
017fad0ce90e
Tests of module 'string' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
98 SIGNATURE_CHECK (GNULIB_NAMESPACE::strsep, char *, (char **, char const *)); |
017fad0ce90e
Tests of module 'string' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
99 #endif |
017fad0ce90e
Tests of module 'string' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
100 |
13073
03de1efbfdd3
Resolve conflict between the two kinds of module indicators.
Bruno Haible <bruno@clisp.org>
parents:
12966
diff
changeset
|
101 #if GNULIB_TEST_STRSTR |
12966
017fad0ce90e
Tests of module 'string' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
102 SIGNATURE_CHECK (GNULIB_NAMESPACE::strstr, char *, |
017fad0ce90e
Tests of module 'string' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
103 (const char *, const char *)); |
017fad0ce90e
Tests of module 'string' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
104 #endif |
017fad0ce90e
Tests of module 'string' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
105 |
13073
03de1efbfdd3
Resolve conflict between the two kinds of module indicators.
Bruno Haible <bruno@clisp.org>
parents:
12966
diff
changeset
|
106 #if GNULIB_TEST_STRCASESTR |
12966
017fad0ce90e
Tests of module 'string' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
107 SIGNATURE_CHECK (GNULIB_NAMESPACE::strcasestr, char *, |
017fad0ce90e
Tests of module 'string' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
108 (const char *, const char *)); |
017fad0ce90e
Tests of module 'string' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
109 #endif |
017fad0ce90e
Tests of module 'string' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
110 |
13073
03de1efbfdd3
Resolve conflict between the two kinds of module indicators.
Bruno Haible <bruno@clisp.org>
parents:
12966
diff
changeset
|
111 #if GNULIB_TEST_STRTOK_R |
12966
017fad0ce90e
Tests of module 'string' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
112 SIGNATURE_CHECK (GNULIB_NAMESPACE::strtok_r, char *, |
017fad0ce90e
Tests of module 'string' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
113 (char *, char const *, char **)); |
017fad0ce90e
Tests of module 'string' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
114 #endif |
017fad0ce90e
Tests of module 'string' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
115 |
13073
03de1efbfdd3
Resolve conflict between the two kinds of module indicators.
Bruno Haible <bruno@clisp.org>
parents:
12966
diff
changeset
|
116 #if GNULIB_TEST_MBSLEN |
12966
017fad0ce90e
Tests of module 'string' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
117 SIGNATURE_CHECK (GNULIB_NAMESPACE::mbslen, size_t, (const char *)); |
017fad0ce90e
Tests of module 'string' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
118 #endif |
017fad0ce90e
Tests of module 'string' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
119 |
13073
03de1efbfdd3
Resolve conflict between the two kinds of module indicators.
Bruno Haible <bruno@clisp.org>
parents:
12966
diff
changeset
|
120 #if GNULIB_TEST_MBSCHR |
12966
017fad0ce90e
Tests of module 'string' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
121 SIGNATURE_CHECK (GNULIB_NAMESPACE::mbschr, char *, (const char *, int)); |
017fad0ce90e
Tests of module 'string' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
122 #endif |
017fad0ce90e
Tests of module 'string' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
123 |
13073
03de1efbfdd3
Resolve conflict between the two kinds of module indicators.
Bruno Haible <bruno@clisp.org>
parents:
12966
diff
changeset
|
124 #if GNULIB_TEST_MBSRCHR |
12966
017fad0ce90e
Tests of module 'string' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
125 SIGNATURE_CHECK (GNULIB_NAMESPACE::mbsrchr, char *, (const char *, int)); |
017fad0ce90e
Tests of module 'string' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
126 #endif |
017fad0ce90e
Tests of module 'string' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
127 |
13073
03de1efbfdd3
Resolve conflict between the two kinds of module indicators.
Bruno Haible <bruno@clisp.org>
parents:
12966
diff
changeset
|
128 #if GNULIB_TEST_MBSPBRK |
12966
017fad0ce90e
Tests of module 'string' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
129 SIGNATURE_CHECK (GNULIB_NAMESPACE::mbspbrk, char *, |
017fad0ce90e
Tests of module 'string' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
130 (const char *, const char *)); |
017fad0ce90e
Tests of module 'string' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
131 #endif |
017fad0ce90e
Tests of module 'string' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
132 |
13073
03de1efbfdd3
Resolve conflict between the two kinds of module indicators.
Bruno Haible <bruno@clisp.org>
parents:
12966
diff
changeset
|
133 #if GNULIB_TEST_STRERROR |
12966
017fad0ce90e
Tests of module 'string' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
134 SIGNATURE_CHECK (GNULIB_NAMESPACE::strerror, char *, (int)); |
017fad0ce90e
Tests of module 'string' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
135 #endif |
017fad0ce90e
Tests of module 'string' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
136 |
13848
3e10d2e4b8af
Tests for module 'strerror_r-posix'.
Bruno Haible <bruno@clisp.org>
parents:
13175
diff
changeset
|
137 #if GNULIB_TEST_STRERROR_R |
3e10d2e4b8af
Tests for module 'strerror_r-posix'.
Bruno Haible <bruno@clisp.org>
parents:
13175
diff
changeset
|
138 SIGNATURE_CHECK (GNULIB_NAMESPACE::strerror_r, int, (int, char *, size_t)); |
3e10d2e4b8af
Tests for module 'strerror_r-posix'.
Bruno Haible <bruno@clisp.org>
parents:
13175
diff
changeset
|
139 #endif |
3e10d2e4b8af
Tests for module 'strerror_r-posix'.
Bruno Haible <bruno@clisp.org>
parents:
13175
diff
changeset
|
140 |
13073
03de1efbfdd3
Resolve conflict between the two kinds of module indicators.
Bruno Haible <bruno@clisp.org>
parents:
12966
diff
changeset
|
141 #if GNULIB_TEST_STRSIGNAL |
12966
017fad0ce90e
Tests of module 'string' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
142 SIGNATURE_CHECK (GNULIB_NAMESPACE::strsignal, char *, (int)); |
017fad0ce90e
Tests of module 'string' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
143 #endif |
017fad0ce90e
Tests of module 'string' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
144 |
13073
03de1efbfdd3
Resolve conflict between the two kinds of module indicators.
Bruno Haible <bruno@clisp.org>
parents:
12966
diff
changeset
|
145 #if GNULIB_TEST_STRVERSCMP |
12966
017fad0ce90e
Tests of module 'string' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
146 SIGNATURE_CHECK (GNULIB_NAMESPACE::strverscmp, int, |
017fad0ce90e
Tests of module 'string' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
147 (const char *, const char *)); |
017fad0ce90e
Tests of module 'string' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
148 #endif |
017fad0ce90e
Tests of module 'string' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
149 |
017fad0ce90e
Tests of module 'string' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
150 |
017fad0ce90e
Tests of module 'string' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
151 int |
017fad0ce90e
Tests of module 'string' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
152 main () |
017fad0ce90e
Tests of module 'string' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
153 { |
017fad0ce90e
Tests of module 'string' in C++ mode.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
154 } |