Initial commit from sysy-main
This commit is contained in:
12
test/01_add.sy
Normal file
12
test/01_add.sy
Normal file
@@ -0,0 +1,12 @@
|
||||
//test add
|
||||
|
||||
|
||||
int main(){
|
||||
int a, b;
|
||||
float d;
|
||||
a = 10;
|
||||
b = 2;
|
||||
int c = a;
|
||||
d = 1.1 ;
|
||||
return a + b + c;
|
||||
}
|
||||
Reference in New Issue
Block a user