solidity/test/libsolidity/syntaxTests/conversion/allowed_conversion_to_string.sol

10 lines
132 B
Solidity
Raw Normal View History

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