]> andersk Git - splint.git/blame - test/enumtag.c
noexpand always false.
[splint.git] / test / enumtag.c
CommitLineData
140c27a8 1typedef struct s_st st;
2
3struct s_st {
4 int x;
5} ;
6
7
8typedef enum e_tag tag;
9
10enum e_tag r;
11
12enum e_tag {
13 E_X, E_Y, E_Z
14} ;
15
16int f (tag e)
17{
18 if (e == E_X)
19 {
20 return 3;
21 }
22 else
23 {
24 enum e_tag h = E_Z;
25
26 if (h == e)
27 {
28 return 7;
29 }
30 }
31
32 return 12;
33}
34
35enum e_tag {
36 E_M
37} ;
This page took 0.055908 seconds and 5 git commands to generate.