Debian Codegraph @

gcc/testsuite/g++.old-deja/g++.other/inline10.C

raw
1 // { dg-do assemble }
2 // { dg-options "-O2" }
3 // Origin: Mark Mitchell <[email protected]>
4
5 struct S
6 {
7 };
8
9 inline const S f ()
10 {
11 return S ();
12 }
13
14 void g ()
15 {
16 S s;
17 f ();
18 }