diff options
Merge pull request #4926 from ethereum/addressPayableParser
Accept ``address payable`` during parsing.
Diffstat (limited to 'test/libsolidity/syntaxTests/parsing/address_constant_payable.sol')
-rw-r--r-- | test/libsolidity/syntaxTests/parsing/address_constant_payable.sol | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/libsolidity/syntaxTests/parsing/address_constant_payable.sol b/test/libsolidity/syntaxTests/parsing/address_constant_payable.sol new file mode 100644 index 00000000..d98f4ae3 --- /dev/null +++ b/test/libsolidity/syntaxTests/parsing/address_constant_payable.sol @@ -0,0 +1,5 @@ +contract C { + address constant payable b = address(0); +} +// ---- +// ParserError: (34-41): Expected identifier but got 'payable' |