Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
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
();
}