Update cpp/ql/test/library-tests/controlflow/dereferenced/dereferenced.cpp

Co-authored-by: Mathias Vorreiter Pedersen <mathiasvp@github.com>
This commit is contained in:
Geoffrey White
2022-06-14 14:33:37 +01:00
committed by GitHub
parent 512731a38d
commit 2683d011c0

View File

@@ -16,7 +16,7 @@ void test1(int *ptr, int &ref)
ptr[0] = 0; // `ptr` dereferenced
ptr = 0;
(*ptr)++; // `ptr` dereferenced
(*ptr)++; // `ptr`, `*ptr` dereferenced
*(ptr++); // `ptr++` dereferenced
ptr++;