C compiler with embedded metalanguage.
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

11 lines
368 B

now() {
union foo { int i; double d; };
int x;
double y;
void hack (union foo);
union foo u;
u = (union foo) x == u.i = x; // invalid operands to binary == (have ‘union foo’ and ‘int’)
u = (union foo) y == u.d = y; // invalid operands to binary == (have ‘union foo’ and 'double')
hack ((union foo) x);
}