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

9 lines
244 B
Solidity

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