summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/lto/materialize-1_1.c
blob: ca080579f067e358b40a09891f0821697f1521a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
int inline_me (void);
extern int a;
void abort (void);

__attribute__ ((noinline))
void
clone_me (int c, int d)
{
  if (!c)
    {
      if (d!=a)
	abort ();
    }
}
int
main(void)
{
  int i;
  for (i=0;i<a;i++)
    inline_me ();
  return 0;
}