1 /* { dg-do compile } */
2 /* { dg-options "-O -fdump-tree-optimized" } */
21 /* { dg-final { scan-tree-dump-times "&a\\\[2\\\]" 3 "optimized" } } */
22 /* { dg-final { scan-tree-dump-times "&a\\\[.* - 1\\\]" 1 "optimized" } } */
23 /* { dg-final { scan-tree-dump-times "&a\\\[.* \\+ 1\\\]" 1 "optimized" } } */
24 /* { dg-final { cleanup-tree-dump "optimized" } } */