blob: 933bb4a370168baf0dbccc00d7ffff2a1b5a8450 (
plain) (
blame)
1
2
3
4
5
6
7
|
contract C {
function k() public view {
assembly { jump(2) }
}
}
// ----
// SyntaxError: (63-70): Jump instructions and labels are low-level EVM features that can lead to incorrect stack access. Because of that they are discouraged. Please consider using "switch", "if" or "for" statements instead.
|