aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/parsing/new_address_payable.sol
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2018-09-11 21:29:53 +0800
committerGitHub <noreply@github.com>2018-09-11 21:29:53 +0800
commit1994b51ef3eb8de3617efec9747979c9fb5ed453 (patch)
tree258433cfc4c6fced543ba9cf968995e09438c851 /test/libsolidity/syntaxTests/parsing/new_address_payable.sol
parent7d5c13981623f5f931444d227b163d9b0d995fd8 (diff)
parent1ce3581a522a94d9e9a4a84cf8cb63f626e1a14f (diff)
downloaddexon-solidity-1994b51ef3eb8de3617efec9747979c9fb5ed453.tar
dexon-solidity-1994b51ef3eb8de3617efec9747979c9fb5ed453.tar.gz
dexon-solidity-1994b51ef3eb8de3617efec9747979c9fb5ed453.tar.bz2
dexon-solidity-1994b51ef3eb8de3617efec9747979c9fb5ed453.tar.lz
dexon-solidity-1994b51ef3eb8de3617efec9747979c9fb5ed453.tar.xz
dexon-solidity-1994b51ef3eb8de3617efec9747979c9fb5ed453.tar.zst
dexon-solidity-1994b51ef3eb8de3617efec9747979c9fb5ed453.zip
Merge pull request #4926 from ethereum/addressPayableParser
Accept ``address payable`` during parsing.
Diffstat (limited to 'test/libsolidity/syntaxTests/parsing/new_address_payable.sol')
-rw-r--r--test/libsolidity/syntaxTests/parsing/new_address_payable.sol5
1 files changed, 5 insertions, 0 deletions
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