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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [g++.dg/] [template/] [typedef32.C] - Blame information for rev 328

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

Line No. Rev Author Line
1 301 jeremybenn
// Origin: PR c++/43704
2
// { dg-do compile }
3
 
4
template
5
struct if_
6
{
7
 typedef T2 type;
8
};
9
 
10
template
11
struct iterator_restrict_traits
12
{
13
    struct iterator_category {};
14
};
15
 
16
template
17
struct matrix
18
{
19
 struct ci {struct ic {};};
20
 class i {};
21
};
22
 
23
template
24
struct triangular_adaptor
25
{
26
   typedef typename if_::type ty1;
27
   class iterator2 :  iterator_restrict_traits::iterator_category
28
   {
29
   };
30
};
31
 
32
template
33
struct banded_adaptor
34
{
35
  typedef typename if_::type ty1;
36
  class iterator1 :  iterator_restrict_traits::iterator_category
37
  {
38
  };
39
};
40
 
41
template
42
struct singular_decomposition
43
{
44
  banded_adaptor >::iterator1 it1;
45
};
46
 

powered by: WebSVN 2.1.0

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