solidity/test/libsolidity/syntaxTests/inlineAssembly/invalid/label_disallowed.sol
2019-10-25 15:01:25 +02:00

10 lines
162 B
Solidity

contract C {
function f() pure public {
assembly {
label:
}
}
}
// ----
// ParserError: (80-81): Call or assignment expected.