~ubuntu-branches/ubuntu/wily/libee/wily

« back to all changes in this revision

Viewing changes to tests/genfile.c

  • Committer: Bazaar Package Importer
  • Author(s): Pierre Chifflier
  • Date: 2010-12-11 12:37:09 UTC
  • Revision ID: james.westby@ubuntu.com-20101211123709-i8v7mpdtzhgjoqn5
Tags: upstream-0.1.0
ImportĀ upstreamĀ versionĀ 0.1.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#include <stdio.h>
 
2
#include <stdlib.h>
 
3
 
 
4
int main(int argc, char *argv[])
 
5
{
 
6
        int i = 0;
 
7
        while(i < atoi(argv[1])) {
 
8
                printf("%d\n", i++);
 
9
        }
 
10
        return 1;
 
11
}