2022-03-09 22:11:30 +03:00
|
|
|
/*
|
|
|
|
namespace: ParseStatement
|
|
|
|
expectation: Pass
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
2022-05-03 05:43:46 +03:00
|
|
|
let x: u8 = a == b;
|
2022-03-09 22:11:30 +03:00
|
|
|
|
2022-05-03 05:43:46 +03:00
|
|
|
let x: u8 = a != b;
|
2022-03-09 22:11:30 +03:00
|
|
|
|
2022-05-03 05:43:46 +03:00
|
|
|
let x: u8 = a > b;
|
2022-03-09 22:11:30 +03:00
|
|
|
|
2022-05-03 05:43:46 +03:00
|
|
|
let x: u8 = a >= b;
|
2022-03-09 22:11:30 +03:00
|
|
|
|
2022-05-03 05:43:46 +03:00
|
|
|
let x: u8 = a < b;
|
2022-03-09 22:11:30 +03:00
|
|
|
|
2022-05-03 05:43:46 +03:00
|
|
|
let x: u8 = a <= b;
|
2022-03-09 22:11:30 +03:00
|
|
|
|
2022-05-03 05:43:46 +03:00
|
|
|
let x: u8 = a > b;
|
2022-03-09 22:11:30 +03:00
|
|
|
|
|
|
|
x_=b;
|
|
|
|
|
|
|
|
xconsole=b;
|
|
|
|
|
|
|
|
xconst=b;
|
|
|
|
|
|
|
|
xlet=b;
|
|
|
|
|
|
|
|
xfor=b;
|
|
|
|
|
|
|
|
xif=b;
|
|
|
|
|
|
|
|
xelse=b;
|
|
|
|
|
|
|
|
xi8=b;
|
|
|
|
|
|
|
|
xi16=b;
|
|
|
|
|
|
|
|
xi32=b;
|
|
|
|
|
|
|
|
xi64=b;
|
|
|
|
|
|
|
|
xi128=b;
|
|
|
|
|
|
|
|
xu8=b;
|
|
|
|
|
|
|
|
xu16=b;
|
|
|
|
|
|
|
|
xu32=b;
|
|
|
|
|
|
|
|
xu64=b;
|
|
|
|
|
|
|
|
xu128=b;
|
|
|
|
|
|
|
|
xreturn=b;
|
|
|
|
|
|
|
|
xtrue=b;
|
|
|
|
|
|
|
|
xfalse=b;
|
|
|
|
|
|
|
|
x0=b;
|