solidity/test/libyul/yulSyntaxTests/type_check_if_condition_fail.yul
2020-02-24 15:05:19 +01:00

9 lines
140 B
Plaintext

{
let x:i64
if x {}
}
// ====
// dialect: ewasm
// ----
// TypeError: (23-24): Expected a value of boolean type "i32" but got "i64"