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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.dg/] [template/] [access18.C] - Diff between revs 154 and 816

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

Rev 154 Rev 816
// DR 401
// DR 401
class X {
class X {
  typedef int a; // { dg-error "private" }
  typedef int a; // { dg-error "private" }
  static const int b = 5; // { dg-error "private" }
  static const int b = 5; // { dg-error "private" }
  template 
  template 
  struct c; // { dg-error "private" }
  struct c; // { dg-error "private" }
};
};
template  // { dg-error "context" }
template  // { dg-error "context" }
struct A;
struct A;
template  // { dg-error "context" }
template  // { dg-error "context" }
struct B;
struct B;
template