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

9 lines
120 B
Solidity

contract C {
function f() public pure {
assembly {
pop(add(add(1, 2), c))
}
}
int constant c = 1;
}