Daily bump.
[gcc.git] / gcc / testsuite / g++.dg / torture / pr43905.C
blob259ea785041471f61d71657b8b7369c0de832eaf
1 extern void sf ( __const char *);
2 struct Matrix{
3   int operator[](int n){
4     sf ( __PRETTY_FUNCTION__);
5     return 0;
6   }
7   int operator[](int n)const{
8     sf ( __PRETTY_FUNCTION__);
9     return 0;
10   }
12 void calcmy(Matrix const &b, Matrix &c, int k){
13   b[k];
14   c[k];