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

10 lines
168 B
Solidity

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