2016-11-02 11:07:04 +01:00
|
|
|
|
|
|
|
int TestData[100];
|
|
|
|
|
|
|
|
|
2016-11-07 08:48:38 +01:00
|
|
|
void par_not_dependant(int par) {
|
2021-08-07 20:51:18 +02:00
|
|
|
TestData[par] = 0; // BUG
|
2016-11-02 11:07:04 +01:00
|
|
|
}
|
2016-11-07 08:48:38 +01:00
|
|
|
void par_dependant(int x, int y) {
|
2021-08-07 20:51:18 +02:00
|
|
|
if (x < 10)
|
|
|
|
TestData[y] = 0; // BUG
|
2016-11-02 11:07:04 +01:00
|
|
|
}
|
|
|
|
void call(int x) {
|
2021-08-07 20:51:18 +02:00
|
|
|
par_not_dependant(1000);
|
|
|
|
par_dependant(0, 1000);
|
2016-11-02 11:07:04 +01:00
|
|
|
}
|
|
|
|
|
2021-08-07 20:51:18 +02:00
|
|
|
int getLargeIndex() {
|
|
|
|
return 1000;
|
|
|
|
}
|
2016-11-07 08:48:38 +01:00
|
|
|
void return_value() {
|
2021-08-07 20:51:18 +02:00
|
|
|
TestData[getLargeIndex()] = 0; // BUG
|
2016-11-02 11:07:04 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|