c++: Implement __is_nothrow_invocable built-in trait
[official-gcc.git] / gcc / testsuite / g++.dg / pr93195a.C
blob26d265da74ebf7754a1724c0ba5694c5b28d03b3
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 } */
7 extern void bar1 (void);
9 inline void
10 foo (void)
14 void
15 bar (void)
17   foo ();
18   bar1 ();
21 int
22 main ()
24   bar ();
25   return 0;