solidity/test/libsolidity/syntaxTests/inlineAssembly/invalid/label_disallowed.sol

10 lines
162 B
Solidity
Raw Normal View History

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