test-stdlib.c

Go to the documentation of this file.
00001 /* Test of <stdlib.h> substitute.
00002    Copyright (C) 2007 Free Software Foundation, Inc.
00003 
00004    This program is free software: you can redistribute it and/or modify
00005    it under the terms of the GNU General Public License as published by
00006    the Free Software Foundation; either version 3 of the License, or
00007    (at your option) any later version.
00008 
00009    This program is distributed in the hope that it will be useful,
00010    but WITHOUT ANY WARRANTY; without even the implied warranty of
00011    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00012    GNU General Public License for more details.
00013 
00014    You should have received a copy of the GNU General Public License
00015    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
00016 
00017 /* Written by Bruno Haible <bruno@clisp.org>, 2007.  */
00018 
00019 #include <config.h>
00020 
00021 #include <stdlib.h>
00022 
00023 int exitcode;
00024 
00025 int
00026 main ()
00027 {
00028   /* Check that some macros are defined and different integer constants.  */
00029   switch (exitcode)
00030     {
00031     case EXIT_SUCCESS:
00032     case EXIT_FAILURE:
00033       break;
00034     }
00035 
00036   return 0;
00037 }

Generated on Tue Oct 21 18:28:19 2008 for gsasl by  doxygen 1.5.6