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

Subversion Repositories openrisc

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 693 jeremybenn
// { dg-options "-std=gnu++0x" }
2
template
3
struct function_traits;
4
 
5
template
6
struct function_traits {
7
  typedef R result_type;
8
};
9
 
10
template
11
struct function_traits {
12
  typedef R result_type;
13
};
14
 
15
template
16
struct function_traits {
17
  typedef R result_type;
18
};
19
 
20
template
21
struct same_type {
22
  static const bool value = false;
23
};
24
 
25
template
26
struct same_type {
27
  static const bool value = true;
28
};
29
 
30
struct X {};
31
 
32
int a0[same_type::result_type, int>::value? 1 : -1];
33
int a1[same_type::result_type, int>::value? 1 : -1];
34
int a2[same_type::result_type, int>::value? 1 : -1];
35
int a3[same_type::result_type, int>::value? 1 : -1];

powered by: WebSVN 2.1.0

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