From e79797f3482881d3e2d5efd1a6318d43942dfcbe Mon Sep 17 00:00:00 2001 From: chriseth Date: Wed, 4 May 2016 09:14:44 +0200 Subject: Modify failing test: Accessor functions are not available anymore in libraries. --- test/libsolidity/SolidityNameAndTypeResolution.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'test/libsolidity') 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); } } )"; -- cgit