mirror of
https://github.com/github/codeql.git
synced 2026-04-28 02:05:14 +02:00
Update cpp/ql/test/query-tests/Likely Bugs/Underspecified Functions/test.c
Co-authored-by: Jeroen Ketema <93738568+jketema@users.noreply.github.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user