mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
const-> constant
This commit is contained in:
parent
1540cc7b56
commit
510c66b6b8
@ -232,7 +232,7 @@ BOOST_AUTO_TEST_CASE(const_function)
|
|||||||
{
|
{
|
||||||
char const* sourceCode = "contract test {\n"
|
char const* sourceCode = "contract test {\n"
|
||||||
" function foo(uint a, uint b) returns(uint d) { return a + b; }\n"
|
" function foo(uint a, uint b) returns(uint d) { return a + b; }\n"
|
||||||
" function boo(uint32 a) const returns(uint b) { return a * 4; }\n"
|
" function boo(uint32 a) constant returns(uint b) { return a * 4; }\n"
|
||||||
"}\n";
|
"}\n";
|
||||||
|
|
||||||
char const* interface = R"([
|
char const* interface = R"([
|
||||||
|
Loading…
Reference in New Issue
Block a user