Debian Codegraph @

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

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