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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [cpp0x/] [variadic120.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
// PR c++/48322
2
// { dg-do compile { target c++11 } }
3
 
4
template  struct tuple;
5
template  struct tuple { T t; };
6
 
7
template  struct pair;
8
template<> struct pair { };
9
 
10
template 
11
struct A
12
{
13
  template 
14
            class V = tuple...> >
15
  static void f()
16
  {
17
    V v;
18
  }
19
};
20
 
21
int main()
22
{
23
  A::f();
24
}

powered by: WebSVN 2.1.0

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