mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
15 lines
291 B
Solidity
15 lines
291 B
Solidity
==== Source: a ====
|
|
struct S { uint x; }
|
|
==== Source: b ====
|
|
import "a" as A;
|
|
struct T { uint x; }
|
|
contract C {
|
|
function f() public pure {
|
|
T;
|
|
A.S;
|
|
}
|
|
}
|
|
// ----
|
|
// Warning 6133: (b:90-91): Statement has no effect.
|
|
// Warning 6133: (b:101-104): Statement has no effect.
|