solidity/test/libsolidity/syntaxTests/conversion/allowed_conversion_to_bytes_array.sol
liangdzou f3cbdadec7 Do not set to ref for explicit conversion and add assertion for array
type conversion. Also, add some test cases for #4901 and #4948.
2018-09-14 08:42:40 +02:00

10 lines
127 B
Solidity

contract C {
bytes a;
bytes b;
function f() public view {
bytes storage c = a;
bytes memory d = b;
d = bytes(c);
}
}