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.0rc2/] [gcc/] [testsuite/] [g++.dg/] [parse/] [constant6.C] - Diff between revs 301 and 384

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

Rev 301 Rev 384
// PR c++/19883
// PR c++/19883
template struct A
template struct A
{
{
  static const T i = 1;
  static const T i = 1;
  char a[int(i)];
  char a[int(i)];
};
};
template struct B {};
template struct B {};
template struct C
template struct C
{
{
  static const T i = 2;
  static const T i = 2;
  B a;
  B a;
};
};
template< typename T, T N >
template< typename T, T N >
struct integral_c
struct integral_c
{
{
  static const T value = N;
  static const T value = N;
  typedef integral_c< T, static_cast((value + 1)) > next;
  typedef integral_c< T, static_cast((value + 1)) > next;
};
};
 
 

powered by: WebSVN 2.1.0

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