leo/tests/parser/unreachable/define.leo

95 lines
697 B
Plaintext
Raw Normal View History

2022-01-28 22:30:45 +03:00
/*
namespace: ParseStatement
expectation: Fail
*/
; x = 10u8;
2022-01-28 22:30:45 +03:00
. x = 10u8;
2022-01-28 22:30:45 +03:00
import x = 10u8;
2022-01-28 22:30:45 +03:00
, x = 10u8;
2022-01-28 22:30:45 +03:00
[ x = 10u8;
2022-01-28 22:30:45 +03:00
] x = 10u8;
2022-01-28 22:30:45 +03:00
{ x = 10u8;
2022-01-28 22:30:45 +03:00
} x = 10u8;
2022-01-28 22:30:45 +03:00
( x = 10u8;
2022-01-28 22:30:45 +03:00
) x = 10u8;
2022-01-28 22:30:45 +03:00
: x = 10u8;
2022-01-28 22:30:45 +03:00
:: x = 10u8;
2022-01-28 22:30:45 +03:00
? x = 10u8;
2022-01-28 22:30:45 +03:00
_ x = 10u8;
2022-01-28 22:30:45 +03:00
= x = 10u8;
2022-01-28 22:30:45 +03:00
== x = 10u8;
2022-01-28 22:30:45 +03:00
!= x = 10u8;
2022-01-28 22:30:45 +03:00
> x = 10u8;
2022-01-28 22:30:45 +03:00
>= x = 10u8;
2022-01-28 22:30:45 +03:00
< x = 10u8;
2022-01-28 22:30:45 +03:00
<= x = 10u8;
2022-01-28 22:30:45 +03:00
> x = 10u8;
2022-01-28 22:30:45 +03:00
.. x = 10u8;
2022-01-28 22:30:45 +03:00
as x = 10u8;
2022-01-28 22:30:45 +03:00
console x = 10u8;
2022-01-28 22:30:45 +03:00
for x = 10u8;
2022-01-28 22:30:45 +03:00
if x = 10u8;
2022-01-28 22:30:45 +03:00
else x = 10u8;
2022-01-28 22:30:45 +03:00
i8 x = 10u8;
2022-01-28 22:30:45 +03:00
i16 x = 10u8;
2022-01-28 22:30:45 +03:00
i32 x = 10u8;
2022-01-28 22:30:45 +03:00
i64 x = 10u8;
2022-01-28 22:30:45 +03:00
i128 x = 10u8;
2022-01-28 22:30:45 +03:00
u8 x = 10u8;
2022-01-28 22:30:45 +03:00
u16 x = 10u8;
2022-01-28 22:30:45 +03:00
u32 x = 10u8;
2022-01-28 22:30:45 +03:00
u64 x = 10u8;
2022-01-28 22:30:45 +03:00
u128 x = 10u8;
2022-01-28 22:30:45 +03:00
& x = 10u8;
2022-01-28 22:30:45 +03:00
return x = 10u8;
2022-01-28 22:30:45 +03:00
self x = 10u8;
2022-01-28 22:30:45 +03:00
Self x = 10u8;
2022-01-28 22:30:45 +03:00
true x = 10u8;
2022-01-28 22:30:45 +03:00
false x = 10u8;
0 x = 10u8;