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

Subversion Repositories openrisc

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc1/] [gcc/] [testsuite/] [g++.dg/] [cpp0x/] [variadic23.C] - Diff between revs 301 and 338

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

Rev 301 Rev 338
// { dg-options "-std=gnu++0x" }
// { dg-options "-std=gnu++0x" }
template
template
struct array {
struct array {
  static const int value = 0;
  static const int value = 0;
};
};
template<>
template<>
struct array {
struct array {
  static const int value = 1;
  static const int value = 1;
};
};
template
template
struct array {
struct array {
  static const int value = 2;
  static const int value = 2;
};
};
template
template
struct array {
struct array {
  static const int value = 3;
  static const int value = 3;
};
};
int a0[array::value == 0? 1 : -1];
int a0[array::value == 0? 1 : -1];
int a1[array::value == 1? 1 : -1];
int a1[array::value == 1? 1 : -1];
int a2[array::value == 2? 1 : -1];
int a2[array::value == 2? 1 : -1];
int a3[array::value == 3? 1 : -1];
int a3[array::value == 3? 1 : -1];
 
 

powered by: WebSVN 2.1.0

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