mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
30 lines
1.4 KiB
Solidity
30 lines
1.4 KiB
Solidity
contract C {
|
|
bool payable a;
|
|
string payable b;
|
|
int payable c;
|
|
int256 payable d;
|
|
uint payable e;
|
|
uint256 payable f;
|
|
byte payable g;
|
|
bytes payable h;
|
|
bytes32 payable i;
|
|
fixed payable j;
|
|
fixed80x80 payable k;
|
|
ufixed payable l;
|
|
ufixed80x80 payable m;
|
|
}
|
|
// ----
|
|
// ParserError: (22-29): State mutability can only be specified for address types.
|
|
// ParserError: (44-51): State mutability can only be specified for address types.
|
|
// ParserError: (63-70): State mutability can only be specified for address types.
|
|
// ParserError: (85-92): State mutability can only be specified for address types.
|
|
// ParserError: (105-112): State mutability can only be specified for address types.
|
|
// ParserError: (128-135): State mutability can only be specified for address types.
|
|
// ParserError: (148-155): State mutability can only be specified for address types.
|
|
// ParserError: (169-176): State mutability can only be specified for address types.
|
|
// ParserError: (192-199): State mutability can only be specified for address types.
|
|
// ParserError: (213-220): State mutability can only be specified for address types.
|
|
// ParserError: (239-246): State mutability can only be specified for address types.
|
|
// ParserError: (261-268): State mutability can only be specified for address types.
|
|
// ParserError: (288-295): State mutability can only be specified for address types.
|