Debian Codegraph @

gcc/testsuite/g++.dg/torture/pr62164.C

raw
1 // { dg-do compile }
2 // { dg-require-effective-target named_sections }
3
4 class T { static void t(); };
5
6 class U
7 {
8 public:
9 static void u() __attribute__ ((__section__ (".initcall.text")));
10 };
11
12 inline void U::u() {}
13
14 void T::t() { U::u(); }