4.1cBSD/usr/src/ucb/dbx/test/enum.c

Compare this file to the similar file:
Show the results in this format:

typedef enum { RED, GREEN, BLUE } Color;

main()
{
    Color c;

    c = BLUE;
    f(RED);
}

f(c)
Color c;
{
    printf("c = %d\n", c);
}