Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
gcc
/
testsuite
/
g++.dg
/
torture
/
pr62121.C
blob: de1196a62e196ce10d2c93288f8ec18c8f03b9c5 [
file
] [
log
] [
blame
]
// { dg-do compile }
class
A
{
virtual
double
operator
()();
};
class
B
:
A
{
public
:
double
operator
()();
};
extern
B a
[];
int
b
=
a
[
0
]();