Skip to content

Commit

Permalink
[Phase2] Rename
Browse files Browse the repository at this point in the history
  • Loading branch information
liqwang committed Dec 4, 2023
1 parent 38d4824 commit db00a26
Show file tree
Hide file tree
Showing 21 changed files with 48 additions and 48 deletions.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
int test_16()
{
int c = 6;
return c;
}
float aa()
{
int a = 2;
int f = 3;
int h = 4;
if (a < f && h > f) return f;
else if ( a == f || h > a) return 5.0;
else return a;
}
int test_2_s01()
{
float aaa[5];
int b = 2;
aaa[test_16()] = 2.0;
aaa[aa()] = 2.0;
return b;
int test_16()
{
int c = 6;
return c;
}
float aa()
{
int a = 2;
int f = 3;
int h = 4;
if (a < f && h > f) return f;
else if ( a == f || h > a) return 5.0;
else return a;
}
int test_2_s01()
{
float aaa[5];
int b = 2;
aaa[test_16()] = 2.0;
aaa[aa()] = 2.0;
return b;
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
Error type 9 at Line 9: invalid argument type at 1, except float, got int
Error type 9 at Line 9: invalid argument type at 2, except char, got int
Error type 9 at Line 10: invalid argument type at 0, except int, got float
Error type 9 at Line 10: invalid argument type at 2, except char, got float
Error type 9 at Line 11: invalid argument type at 0, except int, got char
Error type 9 at Line 11: invalid argument type at 1, except float, got char
Error type 9 at Line 12: invalid argument number, except 3, got 6
Error type 9 at Line 13: invalid argument number, except 3, got 6
Error type 9 at Line 9: invalid argument type at 1, except float, got int
Error type 9 at Line 9: invalid argument type at 2, except char, got int
Error type 9 at Line 10: invalid argument type at 0, except int, got float
Error type 9 at Line 10: invalid argument type at 2, except char, got float
Error type 9 at Line 11: invalid argument type at 0, except int, got char
Error type 9 at Line 11: invalid argument type at 1, except float, got char
Error type 9 at Line 12: invalid argument number, except 3, got 6
Error type 9 at Line 13: invalid argument number, except 3, got 6
Error type 9 at Line 14: invalid argument number, except 3, got 1
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
int test(int a,float b,char c){
return 0;
}
int test_2_s06(){
int d=10;
float e=11.0;
char f='k';
int g=test(d,e,f);
int g1=test(d,d,d);
int g2=test(e,e,e);
int g3=test(f,f,f);
int g4=test(d,d,d,d,d,d);
int g5=test(d,e,f,d,e,f);
int g6=test(f);
return 0;
}
int test(int a,float b,char c){
return 0;
}
int test_2_s06(){
int d=10;
float e=11.0;
char f='k';
int g=test(d,e,f);
int g1=test(d,d,d);
int g2=test(e,e,e);
int g3=test(f,f,f);
int g4=test(d,d,d,d,d,d);
int g5=test(d,e,f,d,e,f);
int g6=test(f);

return 0;
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
int test_2_s08(int a, int a, int a, int b, float b, char b){
return 0;
int test_2_s08(int a, int a, int a, int b, float b, char b){
return 0;
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit db00a26

Please sign in to comment.