solidity/test/libsolidity/semanticTests/constants/asm_constant_file_level.sol

12 lines
245 B
Solidity

address constant e = 0x1212121212121212121212121000002134593163;
contract C {
function f() public returns (address z) {
assembly { z := e }
}
}
// ====
// compileViaYul: also
// ----
// f() -> 0x1212121212121212121212121000002134593163