blob: 87e842098077cfdb9cc5120c16307d0b8f6eb65f [file] [log] [blame]
/* { dg-do compile } */
/* { dg-options "-fsanitize=address" } */
int f(int i) {
auto int h() {
int r;
int *p;
{
int x[3];
auto int g() {
return x[i];
}
p = &r;
*p = g();
}
return *p;
}
return h();
}