solidity/test/libsolidity/syntaxTests/inlineAssembly/hex_switch_case.sol
2021-04-08 15:03:33 +02:00

11 lines
147 B
Solidity

contract C {
function f() public pure {
assembly {
switch codesize()
case hex"00" {}
case hex"1122" {}
}
}
}
// ----