mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #10006 from ethereum/bug-9229-fix
Fixes internal compiler error with an unused reference to module member.
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
==== Source: s1.sol ====
|
||||
import "s1.sol" as A;
|
||||
|
||||
library L {
|
||||
function f() internal pure {}
|
||||
}
|
||||
|
||||
contract C
|
||||
{
|
||||
function test() public pure {
|
||||
A.L;
|
||||
}
|
||||
}
|
||||
// ----
|
||||
// Warning 6133: (s1.sol:127-130): Statement has no effect.
|
||||
Reference in New Issue
Block a user