Skip to content

Commit 227f9c7

Browse files
committed
C++: Update the test.c comments
1 parent 4d85144 commit 227f9c7

File tree

1 file changed

+2
-2
lines changed
  • cpp/ql/test/query-tests/Likely Bugs/Underspecified Functions

1 file changed

+2
-2
lines changed

cpp/ql/test/query-tests/Likely Bugs/Underspecified Functions/test.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ void test(int *argv[]) {
3030

3131
not_yet_declared1(1); // BAD (GOOD for everything except for cpp/implicit-function-declaration)
3232
not_yet_declared2(1); // BAD (GOOD for everything except for cpp/implicit-function-declaration)
33-
not_yet_declared2(ca); // BAD
34-
not_yet_declared2(); // BAD
33+
not_yet_declared2(ca); // BAD (GOOD for everything except for cpp/mistyped-function-arguments)
34+
not_yet_declared2(); // GOOD
3535

3636
declared_empty_defined_with(); // BAD
3737
declared_empty_defined_with(1); // GOOD

0 commit comments

Comments
 (0)