Sign in
gnu
/
gcc
/
8353b540e6bf07bc4de944da9c3772c619f86a9c
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.other
/
sizeof1.C
blob: 6b547ae912efa562015e9642b9b4d532da5206cc [
file
] [
log
] [
blame
]
// Build don't link:
// Origin: Jason Merrill <jason@cygnus.com>
struct
X
{
int
f
();
int
f
(
int
);
};
void
f
(
int
i
)
{
i
=
sizeof
(
X
::
f
);
// ERROR - cannot take sizeof a member function
}