1 /* A test for final value replacement and higher-order ivs,
4 /* { dg-do compile } */
5 /* { dg-options "-O1 -fdump-tree-vars" } */
13 for (i
= 0; i
< 5; i
++)
19 /* Final value of a gets replaced. */
21 /* { dg-final { scan-tree-dump-times "\\(16\\)" 1 "vars" } } */
23 /* And the empty loop is removed. */
25 /* { dg-final { scan-tree-dump-times "if " 0 "vars" } } */
27 /* { dg-final { cleanup-tree-dump "vars" } } */