add test 2
This commit is contained in:
parent
fa45ae1f9d
commit
257b7c45c7
13
tests/t002.cxl
Normal file
13
tests/t002.cxl
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
#include <stdio.h>
|
||||||
|
|
||||||
|
int main(int argc, char * argv[])
|
||||||
|
{
|
||||||
|
printf("%d;", 4 + 7 * 3);
|
||||||
|
printf("%d;", 4 * 7 + 2);
|
||||||
|
printf("%d;", 3 + 1 << 4);
|
||||||
|
printf("%d;", 6 - 4 >> 1);
|
||||||
|
printf("%d;", 3 | 7);
|
||||||
|
printf("%d;", 7 ^ 1 ^ 2);
|
||||||
|
printf("%d;", 7 & 255);
|
||||||
|
printf("\n");
|
||||||
|
}
|
1
tests/t002.x
Normal file
1
tests/t002.x
Normal file
@ -0,0 +1 @@
|
|||||||
|
25;30;64;1;7;4;7;
|
Loading…
x
Reference in New Issue
Block a user