mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Update test/libsolidity/semanticTests/memoryManagement/assembly_access.sol
Co-authored-by: Kamil Śliwak <kamil.sliwak@codepoets.it>
This commit is contained in:
parent
409e92580f
commit
dbb24484e9
@ -5,6 +5,8 @@ contract C {
|
||||
assembly {
|
||||
y := x
|
||||
}
|
||||
// The value of an uninitialized dynamic array is not zero but rather
|
||||
// an address of a location in memory that has the value of zero.
|
||||
assert(y != 0);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user