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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.old-deja/] [g++.other/] [access6.C] - Diff between revs 149 and 154

Go to most recent revision | Only display areas with differences | Details | Blame | View Log

Rev 149 Rev 154
// { dg-do assemble  }
// { dg-do assemble  }
template 
template 
struct S {
struct S {
  void g();
  void g();
};
};
class C {
class C {
  static const int i = 3; // { dg-bogus "" } private
  static const int i = 3; // { dg-bogus "" } private
public:
public:
  S* f(); // { dg-bogus "" } redeclared
  S* f(); // { dg-bogus "" } redeclared
};
};
S* C::f() { // { dg-bogus "" } private
S* C::f() { // { dg-bogus "" } private
  return 0;
  return 0;
}
}
 
 

powered by: WebSVN 2.1.0

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