solidity/test/libsolidity/semanticTests/constants/asm_constant_file_level.sol
2020-10-08 18:56:18 +02:00

10 lines
214 B
Solidity

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