solidity/test/libsolidity/syntaxTests/indexing/index_range_access_assert.sol

6 lines
122 B
Solidity
Raw Normal View History

// Used to trigger assert
contract s{}
function f() {s[:][];}
// ----
// TypeError 1760: (53-57): Types cannot be sliced.