blob: 1dadcc4d67173333a591e7309cf2a40187635db4 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
|
contract Foo {
function f() public {
string memory long = "01234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890";
string memory short = "123";
long; short;
}
}
// ----
// Warning: (19-238): Function state mutability can be restricted to pure
|