solidity/test/libsolidity/syntaxTests/parsing/payable_accessor.sol
2022-04-01 23:41:18 -05:00

6 lines
141 B
Solidity

contract test {
uint payable x;
}
// ----
// ParserError 9106: (22-29='payable'): State mutability can only be specified for address types.