Update test/libsolidity/semanticTests/memoryManagement/assembly_access.sol

Co-authored-by: Kamil Śliwak <kamil.sliwak@codepoets.it>
This commit is contained in:
chriseth 2020-11-24 14:39:37 +01:00 committed by GitHub
parent 409e92580f
commit dbb24484e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,6 +5,8 @@ contract C {
assembly { assembly {
y := x 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); assert(y != 0);
} }
} }