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

11 lines
238 B
Plaintext

{
switch 7
case true:bool {}
case true:bool {}
}
// ====
// dialect: evmTyped
// ----
// TypeError: (24-33): Expected a value of type "u256" but got "bool"
// TypeError: (46-55): Expected a value of type "u256" but got "bool"