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/] [variadic22.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 make_function_type
struct make_function_type
{
{
  typedef R type(ArgTypes... args);
  typedef R type(ArgTypes... args);
};
};
template
template
struct is_same {
struct is_same {
  static const bool value = false;
  static const bool value = false;
};
};
template
template
struct is_same {
struct is_same {
  static const bool value = true;
  static const bool value = true;
};
};
int a0[is_same::type, int()>::value? 1 : -1];
int a0[is_same::type, int()>::value? 1 : -1];
int a1[is_same::type, int(float)>::value? 1 : -1];
int a1[is_same::type, int(float)>::value? 1 : -1];
int a2[is_same::type, int(float)>::value? 1 : -1];
int a2[is_same::type, int(float)>::value? 1 : -1];
int a3[is_same::type, int(float, double const)>::value? 1 : -1];
int a3[is_same::type, int(float, double const)>::value? 1 : -1];
 
 

powered by: WebSVN 2.1.0

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