solidity/test/libsolidity/syntaxTests/conversion/not_allowed_conversion_to_int_array_pointer2.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

11 lines
140 B
Solidity

contract C {
uint[] a;
uint[] b;
function f() public view {
uint[] storage c = a;
uint[] memory d = b;
d = uint[](c);
}
}
// ----