aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/nameAndTypeResolution/152_array_copy_with_different_types1.sol
blob: a0e71847ff2f38a4e9b0e621cab7be093f282cf6 (plain) (blame)
1
2
3
4
5
6
7
contract c {
    bytes a;
    uint[] b;
    function f() public { b = a; }
}
// ----
// TypeError: (70-71): Type bytes storage ref is not implicitly convertible to expected type uint256[] storage ref.