mirror of
https://github.com/github/codeql.git
synced 2025-12-18 09:43:15 +01:00
14 lines
252 B
C++
14 lines
252 B
C++
// Test for edge case, where we have a database without any function calls or
|
|
// where none of the function calls have any arguments, but where we do have
|
|
// a delete expression.
|
|
|
|
void foo(int* x) {
|
|
delete x;
|
|
}
|
|
|
|
void bar();
|
|
|
|
void jazz() {
|
|
bar();
|
|
}
|