Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
16
Task/Inverted-syntax/C/inverted-syntax-1.c
Normal file
16
Task/Inverted-syntax/C/inverted-syntax-1.c
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#define otherwise do { register int _o = 2; do { switch (_o) { case 1:
|
||||
#define given(Mc) ;case 0: break; case 2: _o = !!(Mc); continue; } break; } while (1); } while (0)
|
||||
|
||||
|
||||
int foo() { return 1; }
|
||||
|
||||
main()
|
||||
{
|
||||
int a = 0;
|
||||
|
||||
otherwise a = 4 given (foo());
|
||||
printf("%d\n", a);
|
||||
exit(0);
|
||||
}
|
||||
21
Task/Inverted-syntax/C/inverted-syntax-2.c
Normal file
21
Task/Inverted-syntax/C/inverted-syntax-2.c
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
main()
|
||||
{
|
||||
int a = 0;
|
||||
|
||||
do {
|
||||
register int _o = 2;
|
||||
do {
|
||||
switch (_o) {
|
||||
case 1:
|
||||
a = 4;
|
||||
case 0:
|
||||
break;
|
||||
case 2:
|
||||
_o = !!(foo());
|
||||
continue;
|
||||
} break;
|
||||
} while (1);
|
||||
} while (0);
|
||||
printf("%d\n", a);
|
||||
exit(0);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue