mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Compare categories instead of types in ContractCompiler(740)
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
// Test for regression of https://github.com/ethereum/solidity/issues/8406
|
||||
|
||||
contract C {
|
||||
address constant e = 0x1212121212121212121212121000002134593163;
|
||||
|
||||
function f() public returns (byte z) {
|
||||
assembly { z := e }
|
||||
}
|
||||
}
|
||||
|
||||
// ----
|
||||
// f() -> 0x00
|
||||
Reference in New Issue
Block a user