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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [template/] [typedef35.C] - Blame information for rev 715

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

Line No. Rev Author Line
1 693 jeremybenn
// Origin c++/45558
2
// { dg-do compile }
3
 
4
template 
5
struct C
6
{
7
  template 
8
  struct B
9
  {
10
    template 
11
    struct E
12
    {
13
      explicit E(const W &x) : w(x) {}
14
      const W &w;
15
    };
16
  };
17
};
18
 
19
struct F;
20
template 
21
struct D
22
{
23
  D() {}
24
};
25
 
26
const D g;
27
template 
28
struct A
29
{
30
  template 
31
  struct B : C::template B
32
  {
33
    typedef typename C::template B V;
34
    static const D > > a;
35
  };
36
};
37
 
38
template 
39
template 
40
const D::template B::template E > >
41
A::B::a = typename C::template B::template E >(g);

powered by: WebSVN 2.1.0

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