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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [cpp0x/] [variadic17.C] - Blame information for rev 774

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

Line No. Rev Author Line
1 693 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.