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) {
|
2016-11-04 19:32:42 +01: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) {
|
2016-11-04 19:32:42 +01:00
|
|
|
if (x < 10)
|
|
|
|
TestData[y] = 0; // BUG
|
2016-11-02 11:07:04 +01:00
|
|
|
}
|
|
|
|
void call(int x) {
|
2016-11-22 11:37:15 +01:00
|
|
|
par_not_dependant(1000);
|
|
|
|
par_dependant(0, 1000);
|
2016-11-02 11:07:04 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
int getLargeIndex() { return 1000; }
|
2016-11-07 08:48:38 +01:00
|
|
|
void return_value() {
|
2016-11-04 19:32:42 +01:00
|
|
|
TestData[getLargeIndex()] = 0; // BUG
|
2016-11-02 11:07:04 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|