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

10 lines
148 B
Solidity
Raw Normal View History

contract C {
function f() public pure {
assembly {
return : 1
}
}
}
// ----
// ParserError: (70-71): Label name must precede ":".