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

10 lines
167 B
Solidity
Raw Normal View History

contract C {
function f() public pure {
assembly {
return := 1
}
}
}
// ----
// ParserError: (70-72): Variable name must precede ":=" in assignment.