solidity/test/libsolidity/syntaxTests/parsing/placeholder_in_function_context.sol

9 lines
190 B
Solidity

contract c {
function fun() public returns (uint r) {
uint _ = 8;
return _ + 1;
}
}
// ----
// Warning: (17-105): Function state mutability can be restricted to pure