solidity/test/libsolidity/syntaxTests/array/contract_index_access.sol
2022-04-01 23:41:18 -05:00

9 lines
210 B
Solidity

contract C {
function f() view public {
C[0];
}
}
// ----
// Warning 6133: (52-56='C[0]'): Statement has no effect.
// Warning 2018: (17-63): Function state mutability can be restricted to pure