Skip to content

Commit cf4c8eb

Browse files
committed
C++: Add more tests.
1 parent 6dc0fa5 commit cf4c8eb

File tree

1 file changed

+1
-0
lines changed
  • cpp/ql/test/query-tests/Security/CWE/CWE-843

1 file changed

+1
-0
lines changed

cpp/ql/test/query-tests/Security/CWE/CWE-843/test.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,3 +144,4 @@ void test12() {
144144
// This one has a non-bitfield members. So we detect the problem
145145
HasSomeBitFields* hbf2 = reinterpret_cast<HasSomeBitFields*>(s1_2); // BAD
146146
}
147+

0 commit comments

Comments
 (0)