solidity/test/libsolidity/semanticTests/constants/asm_address_constant_regression.sol
2022-05-19 20:23:28 +02:00

15 lines
286 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 }
}
}
// ====
// compileToEwasm: also
// ----
// f() -> 0x00