Initial commit from sysy-main
This commit is contained in:
11
testdata/functional/40_unary_op.sy
vendored
Executable file
11
testdata/functional/40_unary_op.sy
vendored
Executable file
@ -0,0 +1,11 @@
|
||||
int main() {
|
||||
int a;
|
||||
a = 10;
|
||||
if (+-!!!a) {
|
||||
a = - - -1;
|
||||
}
|
||||
else {
|
||||
a = 0;
|
||||
}
|
||||
return a;
|
||||
}
|
||||
Reference in New Issue
Block a user