diff options
author | Liana Husikyan <liana@ethdev.com> | 2015-03-12 21:15:04 +0800 |
---|---|---|
committer | Liana Husikyan <liana@ethdev.com> | 2015-03-16 17:46:46 +0800 |
commit | 8e6b2c10c38aa7e9ff70620697fc03dcfb0180a7 (patch) | |
tree | ba083edaaec11b16e6e3a299273f88ab13505e43 /SolidityEndToEndTest.cpp | |
parent | 2ca23b224749ecf709359f04296dfee1f8c5a6d9 (diff) | |
download | dexon-solidity-8e6b2c10c38aa7e9ff70620697fc03dcfb0180a7.tar dexon-solidity-8e6b2c10c38aa7e9ff70620697fc03dcfb0180a7.tar.gz dexon-solidity-8e6b2c10c38aa7e9ff70620697fc03dcfb0180a7.tar.bz2 dexon-solidity-8e6b2c10c38aa7e9ff70620697fc03dcfb0180a7.tar.lz dexon-solidity-8e6b2c10c38aa7e9ff70620697fc03dcfb0180a7.tar.xz dexon-solidity-8e6b2c10c38aa7e9ff70620697fc03dcfb0180a7.tar.zst dexon-solidity-8e6b2c10c38aa7e9ff70620697fc03dcfb0180a7.zip |
- added isPartOfExternalInterface to Declaration
- changed position for the constant specifier. now it goes after type: <type> <constant> <name> = <value>
- removed tests for constant functions, checkings for constant function doesn't belong to this story
Diffstat (limited to 'SolidityEndToEndTest.cpp')
-rw-r--r-- | SolidityEndToEndTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/SolidityEndToEndTest.cpp b/SolidityEndToEndTest.cpp index 4fa98959..e455dab0 100644 --- a/SolidityEndToEndTest.cpp +++ b/SolidityEndToEndTest.cpp @@ -3212,7 +3212,7 @@ BOOST_AUTO_TEST_CASE(const_state_variable) char const* sourceCode = R"( contract Foo { function getX() constant returns (uint r) { return x; } - constant uint x = 56; + uint constant x = 56; })"; compileAndRun(sourceCode); BOOST_CHECK(callContractFunction("getX()") == encodeArgs(56)); |