mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Add test to cover (L.f)() case
This commit is contained in:
parent
f8e6f4a4eb
commit
ea5b63914a
@ -0,0 +1,16 @@
|
||||
library L {
|
||||
function f() internal returns (uint) {
|
||||
return 3;
|
||||
}
|
||||
}
|
||||
|
||||
contract C {
|
||||
function foo() public returns (uint) {
|
||||
return (L.f)();
|
||||
}
|
||||
}
|
||||
|
||||
// ====
|
||||
// compileViaYul: also
|
||||
// ----
|
||||
// foo() -> 3
|
Loading…
Reference in New Issue
Block a user