Sign in
gnu
/
gcc
/
14bc1c0e15633ea781d76d0ae4274b2e27d51db5
/
.
/
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
}