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

9 lines
156 B
Solidity
Raw Normal View History

contract C {
uint s;
function f() public constant returns (uint) {
return s;
}
}
2018-05-08 11:08:52 +00:00
// ----
// ParserError 2314: (43-51): Expected '{' but got 'constant'