C compiler with embedded metalanguage.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

22 lines
150 B

enum E {
x,
y = 2,
z,
};
int
main()
{
enum E e;
if(x != 0)
return 1;
if(y != 2)
return 2;
if(z != 3)
return 3;
e = x;
return e;
}