blob: 5de492e17e47edc52f2dc7eab7b9c7ed9622b277 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
contract C {
function f() public pure {
assembly {
l:
l()
}
}
}
// ----
// Warning: (63-64): The use of labels is deprecated. Please use "if", "switch", "for" or function calls instead.
// Warning: (63-64): 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.
// TypeError: (73-74): Attempt to call label instead of function.
|