~ubuntu-branches/ubuntu/raring/gnutls26/raring

« back to all changes in this revision

Viewing changes to lib/gl/tests/test-stdlib.c

  • Committer: Bazaar Package Importer
  • Author(s): Steve Langasek
  • Date: 2011-05-20 13:07:18 UTC
  • mfrom: (12.1.11 sid)
  • Revision ID: james.westby@ubuntu.com-20110520130718-db41dybbanzfvlji
Tags: 2.10.5-1ubuntu1
* Merge from Debian unstable, remaining changes:
  - Fix build failure with --no-add-needed.
  - Build for multiarch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* Test of <stdlib.h> substitute.
2
 
   Copyright (C) 2007 Free Software Foundation, Inc.
 
2
   Copyright (C) 2007, 2009, 2010 Free Software Foundation, Inc.
3
3
 
4
4
   This program is free software: you can redistribute it and/or modify
5
5
   it under the terms of the GNU General Public License as published by
20
20
 
21
21
#include <stdlib.h>
22
22
 
 
23
#include "verify.h"
 
24
 
23
25
int exitcode;
24
26
 
 
27
/* Check that NULL can be passed through varargs as a pointer type,
 
28
   per POSIX 2008.  */
 
29
verify (sizeof NULL == sizeof (void *));
 
30
 
25
31
int
26
 
main ()
 
32
main (void)
27
33
{
28
34
  /* Check that some macros are defined and different integer constants.  */
29
35
  switch (exitcode)