blob: 0c98ada1bddec7665dace8981aa029961c5b063b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
|
pragma experimental "v0.5.0";
contract C {
function f() pure public {
assembly {
jump(2)
}
}
}
// ----
// SyntaxError: (105-112): 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.
|