Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
torture
/
pr43905.C
blob: 259ea785041471f61d71657b8b7369c0de832eaf [
file
] [
log
] [
blame
]
extern
void
sf
(
__const
char
*);
struct
Matrix
{
int
operator
[](
int
n
){
sf
(
__PRETTY_FUNCTION__
);
return
0
;
}
int
operator
[](
int
n
)
const
{
sf
(
__PRETTY_FUNCTION__
);
return
0
;
}
};
void
calcmy
(
Matrix
const
&
b
,
Matrix
&
c
,
int
k
){
b
[
k
];
c
[
k
];
}