blob: f9cec9350833ab70c94b78488678315fdde2a8f4 [file] [log] [blame]
/* { dg-do compile } */
/* { dg-options "-O2 -fdump-tree-ch-details" } */
/* LLVM LOCAL test not applicable */
/* { dg-require-fdump "" } */
extern int foo (int);
void bla (void)
{
int i, n = foo (0);
for (i = 0; i < n; i++)
foo (i);
}
/* There should be a header duplicated. */
/* { dg-final { scan-tree-dump-times "Duplicating header" 1 "ch"} } */
/* { dg-final { cleanup-tree-dump "ch" } } */