solidity/test/libsolidity/syntaxTests/inlineAssembly/assignment_to_opcode_like.sol
Alex Beregszaszi 43353bb6ca update tests
2020-12-03 17:15:43 +01:00

11 lines
207 B
Solidity

contract C {
function f() public pure {
uint mload;
assembly {
mload := 1
}
}
}
// ----
// ParserError 6272: (101-103): Cannot assign to builtin function "mload".