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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [g++.dg/] [cpp0x/] [variadic15.C] - Blame information for rev 315

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 301 jeremybenn
// { dg-options "-std=gnu++0x" }
2
template
3
struct make_function_type
4
{
5
  typedef R type(const ArgTypes&...);
6
};
7
 
8
template
9
struct is_same {
10
  static const bool value = false;
11
};
12
 
13
template
14
struct is_same {
15
  static const bool value = true;
16
};
17
 
18
int a0[is_same::type, int()>::value? 1 : -1];
19
int a1[is_same::type, int(const float&)>::value? 1 : -1];
20
int a2[is_same::type, int(const float&)>::value? 1 : -1];
21
int a3[is_same::type, int(const 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.