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

11 lines
207 B
Solidity
Raw Normal View History

contract C {
function f() public pure {
uint mload;
assembly {
mload := 1
}
}
}
// ----
2020-11-04 16:55:03 +00:00
// ParserError 6272: (101-103): Cannot assign to builtin function "mload".