OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [torture/] [pr43905.C] - Blame information for rev 693

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 693 jeremybenn
extern void sf ( __const char *);
2
struct Matrix{
3
  int operator[](int n){
4
    sf ( __PRETTY_FUNCTION__);
5
  }
6
  int operator[](int n)const{
7
    sf ( __PRETTY_FUNCTION__);
8
  }
9
};
10
void calcmy(Matrix const &b, Matrix &c, int k){
11
  b[k];
12
  c[k];
13
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.