mirror of
https://github.com/kmc7468/cs420.git
synced 2025-12-15 23:18:48 +00:00
Reorganize tests
This commit is contained in:
7
examples/c/shift.c
Normal file
7
examples/c/shift.c
Normal file
@@ -0,0 +1,7 @@
|
||||
int main() {
|
||||
char a = -1;
|
||||
char b = a << 1;
|
||||
unsigned char c = (unsigned char)b >> 1;
|
||||
|
||||
return b == -2 && c == 0x7F;
|
||||
}
|
||||
Reference in New Issue
Block a user