solidity/test/libsolidity/syntaxTests/inlineAssembly/string_literal_switch_case.yul

10 lines
129 B
Plaintext
Raw Normal View History

contract C {
function f() public pure {
assembly {
switch codesize()
case "1" {}
case "2" {}
}
}
}