OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc1/] [gcc/] [testsuite/] [g++.old-deja/] [g++.brendan/] [init9.C] - Diff between revs 305 and 338

Only display areas with differences | Details | Blame | View Log

Rev 305 Rev 338
// { dg-do assemble  }
// { dg-do assemble  }
// GROUPS passed initialization
// GROUPS passed initialization
int FALSE = 0;
int FALSE = 0;
class X {
class X {
public:
public:
  static int FALSE;
  static int FALSE;
};
};
// The compiler should NOT complain about redeclaration of the global
// The compiler should NOT complain about redeclaration of the global
// `FALSE' with this declaration...grokvardecl shouldn't be doing that.
// `FALSE' with this declaration...grokvardecl shouldn't be doing that.
int X::FALSE = 0;
int X::FALSE = 0;
 
 

powered by: WebSVN 2.1.0

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