[analyzer] Make buildbots happy

This commit is contained in:
Kirstóf Umann 2020-05-21 01:54:11 +02:00
parent b4f9b34701
commit 48a8c7dcbf
1 changed files with 2 additions and 1 deletions

View File

@ -1843,9 +1843,10 @@ variable 'buf', which is not memory allocated by malloc() [unix.Malloc]}}
}
}
(*crash_a)();
(*crash_a)(); // expected-warning{{type specifier missing}}
// A CallEvent without a corresponding FunctionDecl.
crash_b() { crash_a(); } // no-crash
// expected-warning@-1{{type specifier missing}} expected-warning@-1{{non-void}}
// ----------------------------------------------------------------------------
// False negatives.