Outliner considers that both index variables are the same (i.e., come from the outlined function's parameters), when they shouldn't be:
int main() {
int index;
#pragma clava begin_outline
index = 2;
if (1) {
int index;
index = 3;
}
#pragma clava end_outline
return 0;
}