summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/pr45412.c
blob: 339854b59af8b474463d2278be21edad6caebf85 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
extern void baz (int, int, int);

int j;

int
bar (void)
{
  int n = 0, *np = &n;
  if (j)
    baz (0, 0, 0);
  if (j)
    baz (0, 0, 0);
  return n;
}

void
foo (void)
{
  bar ();
  bar ();
}