solidity/test/libsolidity/syntaxTests/inlineAssembly/const_forward_reference.sol
2021-04-20 17:38:29 +02:00

10 lines
128 B
Solidity

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