solidity/test/libsolidity/syntaxTests/conversion/allowed_conversion_to_string.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
132 B
Solidity

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