From 1ce3581a522a94d9e9a4a84cf8cb63f626e1a14f Mon Sep 17 00:00:00 2001 From: Daniel Kirchner Date: Thu, 6 Sep 2018 18:59:50 +0200 Subject: Accept ``address payable`` during parsing. --- test/libsolidity/syntaxTests/parsing/new_address_payable.sol | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 test/libsolidity/syntaxTests/parsing/new_address_payable.sol (limited to 'test/libsolidity/syntaxTests/parsing/new_address_payable.sol') diff --git a/test/libsolidity/syntaxTests/parsing/new_address_payable.sol b/test/libsolidity/syntaxTests/parsing/new_address_payable.sol new file mode 100644 index 00000000..a52001db --- /dev/null +++ b/test/libsolidity/syntaxTests/parsing/new_address_payable.sol @@ -0,0 +1,5 @@ +contract C { + function f() public pure returns(address payable[] memory m) { + m = new address payable[](10); + } +} \ No newline at end of file -- cgit v1.2.3