1 2 3 4 5 6 7 8 9
contract C { bytes a; bytes b; function f() public view { bytes storage c = a; bytes memory d = b; d = bytes(c); } }