diff options
author | chriseth <c@ethdev.com> | 2017-02-02 04:20:21 +0800 |
---|---|---|
committer | chriseth <c@ethdev.com> | 2017-02-16 17:15:22 +0800 |
commit | 49a919b3e012cfa0f7e0c93c29b93289740e9e44 (patch) | |
tree | 83bb619c3bd17f28a439c28f2a5df7b17895ad83 /test | |
parent | 5d584aded8bcabaafddf2f61692f8663913be603 (diff) | |
download | dexon-solidity-49a919b3e012cfa0f7e0c93c29b93289740e9e44.tar.gz dexon-solidity-49a919b3e012cfa0f7e0c93c29b93289740e9e44.tar.zst dexon-solidity-49a919b3e012cfa0f7e0c93c29b93289740e9e44.zip |
Parsing function calls.
Diffstat (limited to 'test')
-rw-r--r-- | test/libsolidity/InlineAssembly.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/libsolidity/InlineAssembly.cpp b/test/libsolidity/InlineAssembly.cpp index 5216ac06..40135a06 100644 --- a/test/libsolidity/InlineAssembly.cpp +++ b/test/libsolidity/InlineAssembly.cpp @@ -169,6 +169,11 @@ BOOST_AUTO_TEST_CASE(function_definitions_multiple_args) BOOST_CHECK(successParse("{ function f(a, d) { } function g(a, d) -> (x, y) { } }")); } +BOOST_AUTO_TEST_CASE(function_calls) +{ + BOOST_CHECK(successParse("{ g(1, 2, f(mul(2, 3))) x() }")); +} + BOOST_AUTO_TEST_SUITE_END() BOOST_AUTO_TEST_SUITE(Printing) |