From dbb24484e90484f2f183023a52da5f0d7d0912f4 Mon Sep 17 00:00:00 2001 From: chriseth Date: Tue, 24 Nov 2020 14:39:37 +0100 Subject: [PATCH] Update test/libsolidity/semanticTests/memoryManagement/assembly_access.sol MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Kamil Úliwak --- .../semanticTests/memoryManagement/assembly_access.sol | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/libsolidity/semanticTests/memoryManagement/assembly_access.sol b/test/libsolidity/semanticTests/memoryManagement/assembly_access.sol index 449edc304..15e171dfc 100644 --- a/test/libsolidity/semanticTests/memoryManagement/assembly_access.sol +++ b/test/libsolidity/semanticTests/memoryManagement/assembly_access.sol @@ -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); } }