solidity/test/libsolidity/syntaxTests/inlineAssembly/invalid/constant_access.sol

10 lines
140 B
Solidity
Raw Normal View History

contract test {
uint constant x = 1;
function f() public pure {
assembly {
let y := x
}
}
}
// ----