mirror of
https://github.com/github/codeql.git
synced 2025-12-17 09:13:20 +01:00
20 lines
226 B
C++
20 lines
226 B
C++
// semmle-extractor-options: --expect_errors
|
|
|
|
void functionBeforeError()
|
|
{
|
|
}
|
|
|
|
void functionWithError1()
|
|
{
|
|
aaaaaaaaaa(); // error
|
|
}
|
|
|
|
void functionWithError2()
|
|
{
|
|
int i = aaaaaaaaaa(); // error
|
|
}
|
|
|
|
void functionAfterError()
|
|
{
|
|
}
|