aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorchriseth <c@ethdev.com>2016-05-04 15:14:44 +0800
committerchriseth <c@ethdev.com>2016-05-04 15:14:44 +0800
commite79797f3482881d3e2d5efd1a6318d43942dfcbe (patch)
tree4cabf0d352785a91925a5338ebeae718026896f5 /test
parente6b6e27bd7e7df459b8a626b38429673f5bdc5dd (diff)
downloaddexon-solidity-e79797f3482881d3e2d5efd1a6318d43942dfcbe.tar
dexon-solidity-e79797f3482881d3e2d5efd1a6318d43942dfcbe.tar.gz
dexon-solidity-e79797f3482881d3e2d5efd1a6318d43942dfcbe.tar.bz2
dexon-solidity-e79797f3482881d3e2d5efd1a6318d43942dfcbe.tar.lz
dexon-solidity-e79797f3482881d3e2d5efd1a6318d43942dfcbe.tar.xz
dexon-solidity-e79797f3482881d3e2d5efd1a6318d43942dfcbe.tar.zst
dexon-solidity-e79797f3482881d3e2d5efd1a6318d43942dfcbe.zip
Modify failing test: Accessor functions are not available anymore in libraries.
Diffstat (limited to 'test')
-rw-r--r--test/libsolidity/SolidityNameAndTypeResolution.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/libsolidity/SolidityNameAndTypeResolution.cpp b/test/libsolidity/SolidityNameAndTypeResolution.cpp
index 44525d74..9c411781 100644
--- a/test/libsolidity/SolidityNameAndTypeResolution.cpp
+++ b/test/libsolidity/SolidityNameAndTypeResolution.cpp
@@ -2323,12 +2323,11 @@ BOOST_AUTO_TEST_CASE(call_to_library_function)
{
char const* text = R"(
library Lib {
- uint constant public pimil = 3141592;
function min(uint x, uint y) returns (uint);
}
contract Test {
function f() {
- uint t = Lib.min(Lib.pimil(), 7);
+ uint t = Lib.min(12, 7);
}
}
)";