mirror of
https://github.com/github/codeql.git
synced 2025-12-18 09:43:15 +01:00
17 lines
237 B
C++
17 lines
237 B
C++
|
|
extern const int myConst1;
|
|
const int myConst2 = 20;
|
|
|
|
int thirty() {return 30;}
|
|
|
|
void func1(int x = myConst1, int y = myConst2, int z = thirty())
|
|
{
|
|
}
|
|
|
|
void func2()
|
|
{
|
|
func1(); // call with default parameters
|
|
}
|
|
|
|
const int myConst1 = 10;
|