blob: 8c8205605c37dc72bc0457779147936c78a2757d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
|
contract C {
function f() pure public {
assembly {
label:
}
}
}
// ----
// SyntaxError: (75-80): The use of labels is deprecated. Please use "if", "switch", "for" or function calls instead.
// SyntaxError: (75-80): 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.
|