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

11 lines
162 B
Solidity
Raw Normal View History

contract C {
uint constant a = 2;
uint constant b = a;
function f() public pure {
assembly {
let x := b
}
}
}
// ----