aboutsummaryrefslogblamecommitdiffstats
path: root/test/libsolidity/syntaxTests/nameAndTypeResolution/153_array_copy_with_different_types2.sol
blob: 8d1cb1ef4ef92526947e94d74b45c618f97004a1 (plain) (tree)
1
2
3
4
5
6
7






                                                                                                                    
contract c {
    uint32[] a;
    uint8[] b;
    function f() public { b = a; }
}
// ----
// TypeError: (74-75): Type uint32[] storage ref is not implicitly convertible to expected type uint8[] storage ref.