summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.other/inline6.C
blob: 04de9fce4c87ba580c6fe9ec27c3d5f5181f1811 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// { dg-do assemble  }
// { dg-options "-O2" }
// Origin: Mark Mitchell <mark@codesourcery.com>

struct S 
{
};

void f (S s = S ());

inline void g ()
{
  f ();
}

void h ()
{
  g ();
}