summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.other/inline18.C
blob: 70c4cf6e0a4b88099a19d043c4bb09c7b70ce885 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// { dg-do assemble  }
// { dg-options "-O3" }
// Origin: Jakub Jelinek <jakub@redhat.com>

static void foo (int a)
{
  a = a;
}

static void bar (void)
{
  foo (-1);
}