Skip to content

Commit 857a4d8

Browse files
committed
C++: Merge the two tests, so that overlaps are obvious.
1 parent a372578 commit 857a4d8

File tree

6 files changed

+8
-4
lines changed

6 files changed

+8
-4
lines changed

cpp/ql/test/query-tests/Critical/SizeCheck/test.expected renamed to cpp/ql/test/query-tests/Critical/SizeCheck/SizeCheck.expected

File renamed without changes.

cpp/ql/test/query-tests/Critical/SizeCheck/test.qlref renamed to cpp/ql/test/query-tests/Critical/SizeCheck/SizeCheck.qlref

File renamed without changes.
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
| test2.c:16:23:16:28 | call to malloc | Allocated memory (27 bytes) is not a multiple of the size of 'long long' (8 bytes). |
2+
| test2.c:17:20:17:25 | call to malloc | Allocated memory (33 bytes) is not a multiple of the size of 'double' (8 bytes). |
3+
| test2.c:32:23:32:28 | call to malloc | Allocated memory (28 bytes) is not a multiple of the size of 'long long' (8 bytes). |
4+
| test2.c:33:20:33:25 | call to malloc | Allocated memory (20 bytes) is not a multiple of the size of 'double' (8 bytes). |
5+
| test.c:16:19:16:24 | call to malloc | Allocated memory (3 bytes) is not a multiple of the size of 'float' (4 bytes). |
6+
| test.c:17:20:17:25 | call to malloc | Allocated memory (5 bytes) is not a multiple of the size of 'double' (8 bytes). |
7+
| test.c:32:19:32:24 | call to malloc | Allocated memory (2 bytes) is not a multiple of the size of 'float' (4 bytes). |
8+
| test.c:33:20:33:25 | call to malloc | Allocated memory (4 bytes) is not a multiple of the size of 'double' (8 bytes). |

cpp/ql/test/query-tests/Critical/SizeCheck2/test.qlref renamed to cpp/ql/test/query-tests/Critical/SizeCheck/SizeCheck2.qlref

File renamed without changes.
File renamed without changes.

cpp/ql/test/query-tests/Critical/SizeCheck2/test.expected

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
 (0)