solidity/test/libsolidity/semanticTests/constants/asm_address_constant_regression.sol
Alex Beregszaszi edbdff8619 Update tests
2020-12-14 19:32:31 +00:00

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