solidity/test/libsolidity/syntaxTests/parsing/constant_state_modifier.sol
2018-05-09 15:07:47 +02:00

8 lines
132 B
Solidity

contract C {
uint s;
// this test should fail starting from 0.5.0
function f() public constant returns (uint) {
return s;
}
}