mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #10760 from ethereum/asmConstantsFileLevel
Fix accessing constants at file level from inline assembly.
This commit is contained in:
@@ -5,5 +5,7 @@ contract C {
|
||||
assembly { z := e }
|
||||
}
|
||||
}
|
||||
// ====
|
||||
// compileViaYul: also
|
||||
// ----
|
||||
// f() -> 0x1212121212121212121212121000002134593163
|
||||
|
||||
Reference in New Issue
Block a user