2020-11-23 18:06:44 +00:00
|
|
|
pragma abicoder v2;
|
2020-11-03 12:53:21 +00:00
|
|
|
|
|
|
|
contract C {
|
|
|
|
function f(bool b) public pure returns (bool) { return b; }
|
|
|
|
}
|
|
|
|
// ----
|
|
|
|
// f(bool): true -> true
|
|
|
|
// f(bool): false -> false
|
|
|
|
// f(bool): 0x000000 -> false
|
|
|
|
// f(bool): 0xffffff -> FAILURE
|