mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Modify failing test: Accessor functions are not available anymore in libraries.
This commit is contained in:
parent
e6b6e27bd7
commit
e79797f348
@ -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);
|
||||
}
|
||||
}
|
||||
)";
|
||||
|
Loading…
Reference in New Issue
Block a user