annotate tests/test-string.c @ 8438:238942284e2f

Allow the use of a destructor for the values stored in the list.
author Bruno Haible <bruno@clisp.org>
date Fri, 16 Mar 2007 00:30:06 +0000
parents 7f5d9e03952a
children bbbbbf4cd1c5
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
8175
7f5d9e03952a Tests for module 'string'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
1 /* Test of <string.h> substitute.
7f5d9e03952a Tests for module 'string'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
2 Copyright (C) 2007 Free Software Foundation, Inc.
7f5d9e03952a Tests for module 'string'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
3
7f5d9e03952a Tests for module 'string'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
4 This program is free software; you can redistribute it and/or modify
7f5d9e03952a Tests for module 'string'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
5 it under the terms of the GNU General Public License as published by
7f5d9e03952a Tests for module 'string'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
6 the Free Software Foundation; either version 2, or (at your option)
7f5d9e03952a Tests for module 'string'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
7 any later version.
7f5d9e03952a Tests for module 'string'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
8
7f5d9e03952a Tests for module 'string'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
9 This program is distributed in the hope that it will be useful,
7f5d9e03952a Tests for module 'string'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
7f5d9e03952a Tests for module 'string'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
7f5d9e03952a Tests for module 'string'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
12 GNU General Public License for more details.
7f5d9e03952a Tests for module 'string'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
13
7f5d9e03952a Tests for module 'string'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
14 You should have received a copy of the GNU General Public License
7f5d9e03952a Tests for module 'string'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
15 along with this program; if not, write to the Free Software Foundation,
7f5d9e03952a Tests for module 'string'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
16 Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */
7f5d9e03952a Tests for module 'string'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
17
7f5d9e03952a Tests for module 'string'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
18 /* Written by Bruno Haible <bruno@clisp.org>, 2007. */
7f5d9e03952a Tests for module 'string'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
19
7f5d9e03952a Tests for module 'string'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
20 #include <config.h>
7f5d9e03952a Tests for module 'string'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
21
7f5d9e03952a Tests for module 'string'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
22 #include <string.h>
7f5d9e03952a Tests for module 'string'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
23
7f5d9e03952a Tests for module 'string'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
24 int
7f5d9e03952a Tests for module 'string'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
25 main ()
7f5d9e03952a Tests for module 'string'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
26 {
7f5d9e03952a Tests for module 'string'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
27 return 0;
7f5d9e03952a Tests for module 'string'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
28 }