PR middle-end/77357 - strlen of constant strings not folded
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / alias-12.c
blobb542e493f5dfb0b16ea570ced83c772cd61144d1
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-alias-vops" } */
4 struct {
5 int i;
6 int x[128];
7 int j;
8 } a;
10 int foo(int i)
12 a.x[i] = 0;
13 return a.x[i];
16 /* { dg-final { scan-tree-dump "VDEF" "alias" } } */