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

12 lines
268 B
Solidity
Raw Normal View History

contract C {
function f() public pure {
assembly {
function g() -> a,b, c {}
let a, sub, mov := g()
}
}
}
// ----
// ParserError: (102-105): Cannot use instruction names for identifier names.
// ParserError: (105-106): Expected ';' but got ','