quakeforge/tools/qfcc/test/enum.r
Bill Currie 49ed4310fd Fix assigning int to enum or enum to int
Or float, for v6 progs.
2019-06-10 08:46:40 +09:00

13 lines
92 B
R

typedef enum {
NO = 0,
YES
} BOOL;
int
main()
{
BOOL b;
b = 0;
b = YES;
return !b;
}