Mon commit avec mes modifs à moi ! Na

This commit is contained in:
2022-10-26 11:51:37 +02:00
parent 52ce1488c5
commit 62d045512a
62 changed files with 2342 additions and 77 deletions
@@ -1,14 +0,0 @@
#include "printlib.h"
int main(){
int n;
string s;
n=17;
s="seventeen";
s = n*s;
return 0;
}
// EXITCODE 2
// EXPECTED
// In function main: Line 8 col 6: type mismatch for multiplicative operator: integer and string
@@ -1,9 +0,0 @@
#include "printlib.h"
int main(){
println_int(true+true);
return 0;
}
// EXITCODE 2
// EXPECTED
// In function main: Line 4 col 14: invalid type for additive operands: boolean
@@ -11,4 +11,4 @@ int main(){
// EXITCODE 2
// EXPECTED
// In function main: Line 6 col 12: type mismatch for additive operator: integer and boolean
// In function main: Line 6 col 12: invalid type for additive operator: integer and boolean
@@ -11,4 +11,4 @@ int main(){
// EXITCODE 2
// EXPECTED
// In function main: Line 8 col 8: invalid type for additive operands: boolean
// In function main: Line 8 col 8: invalid type for additive operands: boolean and boolean
@@ -13,4 +13,4 @@ int main(){
// EXITCODE 2
// EXPECTED
// In function main: Line 10 col 8: type mismatch for additive operator: integer and float
// In function main: Line 10 col 8: invalid type for additive operator: integer and float
@@ -11,4 +11,4 @@ int main(){
// EXITCODE 2
// EXPECTED
// In function main: Line 8 col 8: type mismatch for boolean operator: integer and boolean
// In function main: Line 8 col 8: invalid type for boolean operator: integer and boolean
@@ -19,4 +19,4 @@ int main(){
// EXITCODE 2
// EXPECTED
// In function main: Line 16 col 8: type mismatch for comparaison operator: integer and float
// In function main: Line 16 col 8: invalid type for comparaison operator: integer and float
@@ -13,4 +13,4 @@ int main(){
// EXITCODE 2
// EXPECTED
// In function main: Line 10 col 8: type mismatch for multiplicative operator: integer and float
// In function main: Line 10 col 8: invalid type for multiplicative operands: integer and float
@@ -11,4 +11,4 @@ int main(){
// EXITCODE 2
// EXPECTED
// In function main: Line 8 col 8: type mismatch for boolean operator: integer and boolean
// In function main: Line 8 col 8: invalid type for boolean operator: integer and boolean