mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
17 lines
411 B
Solidity
17 lines
411 B
Solidity
contract test {
|
|
struct s { uint a; uint b;}
|
|
function f() pure public returns (byte) {
|
|
s;
|
|
s(1,2);
|
|
s[7];
|
|
uint;
|
|
uint[7];
|
|
}
|
|
}
|
|
// ----
|
|
// Warning 6133: (93-94): Statement has no effect.
|
|
// Warning 6133: (98-104): Statement has no effect.
|
|
// Warning 6133: (108-112): Statement has no effect.
|
|
// Warning 6133: (116-120): Statement has no effect.
|
|
// Warning 6133: (124-131): Statement has no effect.
|