Skip to content

Commit

Permalink
Update cpp/ql/test/query-tests/Likely Bugs/Underspecified Functions/t…
Browse files Browse the repository at this point in the history
…est.c

Co-authored-by: Jeroen Ketema <93738568+jketema@users.noreply.github.com>
  • Loading branch information
calumgrant and jketema authored Nov 22, 2024
1 parent 60155ce commit 3b4fdb3
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -30,7 +30,8 @@ void test(int *argv[]) {

not_yet_declared1(1); // BAD (GOOD for everything except for cpp/implicit-function-declaration)
not_yet_declared2(1); // BAD (GOOD for everything except for cpp/implicit-function-declaration)
not_yet_declared2(ca); // BAD (GOOD for everything except for cpp/mistyped-function-arguments)
not_yet_declared2(ca); // BAD (GOOD for everything except for cpp/mistyped-function-arguments
// and cpp/too-few-arguments. Not detected in the case of cpp/too-few-arguments.)
not_yet_declared2(); // BAD [NOT DETECTED] (GOOD for everything except for cpp/too-few-arguments)

declared_empty_defined_with(); // BAD

0 comments on commit 3b4fdb3

Please sign in to comment.