solidity/test/libsolidity/syntaxTests/conversion/allowed_conversion_to_string.sol
2021-04-20 17:38:29 +02:00

11 lines
140 B
Solidity

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