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

6 lines
129 B
Solidity

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