solidity/test/libsolidity/syntaxTests/inlineAssembly/assignment_location.sol

9 lines
207 B
Solidity

contract C {
function f() pure public {
uint x; uint y;
assembly { x, y := 7 }
}
}
// ----
// DeclarationError 8678: (87-96): Variable count does not match number of values (2 vs. 1)