aboutsummaryrefslogtreecommitdiffstats
path: root/SolidityParser.cpp
diff options
context:
space:
mode:
authorGav Wood <i@gavwood.com>2014-12-22 10:16:38 +0800
committerGav Wood <i@gavwood.com>2014-12-22 10:16:38 +0800
commitf4eab75fffb9c58e00e5cb114a70e4c4606699c5 (patch)
treed0a37deb48476d44d8ecf115bb399f4e1652eb79 /SolidityParser.cpp
parent510c66b6b816fa69dae9a5b423f306565961502a (diff)
downloaddexon-solidity-f4eab75fffb9c58e00e5cb114a70e4c4606699c5.tar.gz
dexon-solidity-f4eab75fffb9c58e00e5cb114a70e4c4606699c5.tar.zst
dexon-solidity-f4eab75fffb9c58e00e5cb114a70e4c4606699c5.zip
Fixes/workarounds for tests.
Diffstat (limited to 'SolidityParser.cpp')
-rw-r--r--SolidityParser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/SolidityParser.cpp b/SolidityParser.cpp
index c14c0512..86f935c3 100644
--- a/SolidityParser.cpp
+++ b/SolidityParser.cpp
@@ -91,7 +91,7 @@ BOOST_AUTO_TEST_CASE(empty_function)
{
char const* text = "contract test {\n"
" uint256 stateVar;\n"
- " function functionName(hash160 arg1, address addr) const\n"
+ " function functionName(hash160 arg1, address addr) constant\n"
" returns (int id)\n"
" { }\n"
"}\n";