more junk code ...
[tridge/junkcode.git] / enum.c
1 #include <stdio.h>
2
3 typedef struct { int v; } BOOL;
4 typedef enum {NO_PROBLEM=0, BLAH=1} NT_STATUS;
5
6 static BOOL foo1(void)
7 {
8         return False;
9 }
10
11 static void foo2(NT_STATUS x)
12 {
13         printf("x=%d\n", x);
14 }
15
16 int main(void)
17 {
18         foo2(foo1());
19         return 0;
20 }