URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
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];
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.