solidity/test/libsolidity/semanticTests/constants/asm_address_constant_regression.sol
2023-05-11 10:56:55 -05:00

12 lines
253 B
Solidity

// Test for regression of https://github.com/ethereum/solidity/issues/8406
contract C {
address constant e = 0x1212121212121212121212121000002134593163;
function f() public returns (bytes1 z) {
assembly { z := e }
}
}
// ----
// f() -> 0x00