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

10 lines
253 B
Solidity

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