Sign in
gnu
/
gcc
/
57ea00136418991e847e46a6946a81a1df70c9a4
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.other
/
inline23.C
blob: dcb443be1cc27ea82d0c8c4dd588081a56b484f7 [
file
] [
log
] [
blame
]
// { dg-do link }
struct
B
{
virtual
~
B
()
{}
};
struct
A
:
public
B
{
~
A
();
void
foo
(
void
);
void
bar
(
void
);
};
inline
void
A
::
foo
(
void
)
{
static
int
i
;
i
++;
}
void
A
::
bar
()
{
foo
();
}
int
main
()
{
}