mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
6 lines
122 B
Solidity
6 lines
122 B
Solidity
// Used to trigger assert
|
|
contract s{}
|
|
function f() {s[:][];}
|
|
// ----
|
|
// TypeError 1760: (53-57): Types cannot be sliced.
|