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

6 lines
126 B
Solidity
Raw Normal View History

2018-05-02 19:49:59 +00:00
contract test {
uint payable x;
}
// ----
// ParserError: (22-29): State mutability can only be specified for address types.