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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.old-deja/] [g++.mike/] [p10951.C] - Rev 699

Compare with Previous | Blame | View Log

// { dg-do assemble  }
// prms-id: 10951

inline int m1(const int& a) {
  return 1;
}

template <class T>
class A {
public:
  typedef int st;

  static int m2t() {
    return m1(1);
  }
};

A<int>::st i;
int m3() {
  return A<int>::m2t();
}

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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