Mon commit avec mes modifs à moi ! Na
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
#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: invalid type for multiplicative operands: integer and string
|
||||
@@ -0,0 +1,9 @@
|
||||
#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 and boolean
|
||||
Reference in New Issue
Block a user