solidity/test/libsolidity/syntaxTests/inlineAssembly/invalid/missing_variable.sol
2022-04-01 23:41:18 -05:00

10 lines
172 B
Solidity

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