Debian Codegraph @

gcc/testsuite/g++.dg/pr93195a.C

raw
1 /* { dg-do link { target { ! { nvptx*-*-* visium-*-* } } } } */
2 // { dg-require-effective-target o_flag_in_section }
3 /* { dg-options "-O0 -fpatchable-function-entry=1" } */
4 /* { dg-additional-options "-fno-pie" { target sparc*-*-* } } */
5 /* { dg-additional-sources pr93195b.C } */
6
7 extern void bar1 (void);
8
9 inline void
10 foo (void)
11 {
12 }
13
14 void
15 bar (void)
16 {
17 foo ();
18 bar1 ();
19 }
20
21 int
22 main ()
23 {
24 bar ();
25 return 0;
26 }
27