mirror of
https://github.com/kmc7468/cs420.git
synced 2025-12-15 23:18:48 +00:00
Reorganize tests
This commit is contained in:
8
examples/c/minus_constant.c
Normal file
8
examples/c/minus_constant.c
Normal file
@@ -0,0 +1,8 @@
|
||||
int a = -1;
|
||||
long b = -1l;
|
||||
float c = -1.5f;
|
||||
double d = -1.5;
|
||||
|
||||
int main() {
|
||||
return (a + b + (int)c + (long)d) == -4;
|
||||
}
|
||||
Reference in New Issue
Block a user