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

Subversion Repositories openrisc

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 693 jeremybenn
// { dg-do compile { target c++11 } }
2
 
3
template  struct tuple;
4
template  struct tuple { T t; };
5
 
6
template  struct pair;
7
template<> struct pair { };
8
 
9
template 
10
struct A
11
{
12
  template 
13
            class V = tuple...> >
14
  static void f(Us...)
15
  {
16
    V v;
17
  }
18
  template 
19
  static void f(bool);
20
};
21
 
22
int main()
23
{
24
  A::f(1.0);
25
}

powered by: WebSVN 2.1.0

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