solidity/test/libsolidity/semanticTests/types/convert_fixed_bytes_to_fixed_bytes_same_size.sol
2019-07-22 16:31:46 +02:00

10 lines
205 B
Solidity

contract Test {
function bytesToBytes(bytes4 input) public returns (bytes4 ret) {
return bytes4(input);
}
}
// ====
// compileViaYul: also
// ----
// bytesToBytes(bytes4): "abcd" -> "abcd"