~ubuntu-branches/ubuntu/hardy/gengetopt/hardy

« back to all changes in this revision

Viewing changes to tests/no_multi_types.c

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2008-01-29 14:55:40 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20080129145540-bkah1bl330gpelmh
Tags: 2.22-1ubuntu1
* Merge with Debian; remaining changes:
  - Fix build failures with g++-4.3.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* 
 
2
   no_multi_types.c test 
 
3
   contains multiple options none of which has type
 
4
*/
 
5
 
 
6
#include <stdlib.h>
 
7
#include "no_multi_types_cmd.h"
 
8
 
 
9
int
 
10
main (int argc, char **argv)
 
11
{
 
12
  struct gengetopt_args_info args_info;
 
13
 
 
14
  /* let's call our cmdline parser */
 
15
  if (no_multi_types_cmd_parser (argc, argv, &args_info) != 0)
 
16
    exit(1) ;
 
17
 
 
18
  return 0;
 
19
}