Files
codeql/cpp/ql/test/library-tests/sideEffects/functions/error.cpp

20 lines
226 B
C++

// semmle-extractor-options: --expect_errors
void functionBeforeError()
{
}
void functionWithError1()
{
aaaaaaaaaa(); // error
}
void functionWithError2()
{
int i = aaaaaaaaaa(); // error
}
void functionAfterError()
{
}