solidity/test/libyul/yulSyntaxTests/type_check_cases_fail.yul

11 lines
237 B
Plaintext
Raw Normal View History

2020-02-06 18:44:14 +00:00
{
switch 7:i32
case 0:i64 {}
case 2:i64 {}
}
// ====
// dialect: ewasm
// ----
// TypeError 3781: (28-33): Expected a value of type "i32" but got "i64"
// TypeError 3781: (46-51): Expected a value of type "i32" but got "i64"