Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
gcc
/
testsuite
/
g++.dg
/
torture
/
pr62164.C
blob: 3f9e5399df2c1ba6567e7b76936746029dead184 [
file
] [
log
] [
blame
]
// { dg-do compile }
// { dg-require-effective-target named_sections }
class
T
{
static
void
t
();
};
class
U
{
public
:
static
void
u
()
__attribute__
((
__section__
(
".initcall.text"
)));
};
inline
void
U
::
u
()
{}
void
T
::
t
()
{
U
::
u
();
}