mirror of
https://github.com/github/codeql.git
synced 2026-04-13 19:14:04 +02:00
11 lines
230 B
C++
11 lines
230 B
C++
int f() {
|
|
extern int other(); //scope of externs is the entire file, not just the
|
|
//block where it is declared
|
|
...
|
|
other()
|
|
}
|
|
|
|
int g() {
|
|
other(); //this will use the other() function declared inside f()
|
|
}
|