blob: f7daa33f8dcaff9322594ba299a688ee774da7a5 (
plain) (
blame)
1
2
3
4
5
6
7
|
contract test {
function f(uint a) public returns (uint) { return 2 * a; }
function g() public returns (uint) { var x = f; return x(7); }
}
// ----
// Warning: (120-125): Use of the "var" keyword is deprecated.
// Warning: (20-78): Function state mutability can be restricted to pure
|