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

10 lines
163 B
Solidity

contract C {
function f() public pure {
assembly {
x := 1
}
}
}
// ----
// DeclarationError: (63-64): Variable not found or variable not lvalue.