]> andersk Git - splint.git/blame - test/dkf5kEnum.c
Fixed localtime/gmtime null anntation.
[splint.git] / test / dkf5kEnum.c
CommitLineData
35b27def 1/* dkf5k */
2#include <stdlib.h>
3
4
5int main()
6{
7
8 typedef enum
9 {
10 apple,
11 pear,
12 grapefruit
13 } fruits;
14 register int i;
15
16 int array[grapefruit+1];
17 array[apple] = 24;
18 array[pear] = 10;
19 for(i=0; i <= 1; i++)
20 {
21 printf("%i\n", array[i]);
22 }
23 return 0;
24}
25
26
27
28
29
30
31
This page took 0.955061 seconds and 5 git commands to generate.