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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [torture/] [pr41144.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
/* { dg-do compile } */
2
 
3
struct rgba8;
4
template class span_gouraud     {
5
public:
6
    struct coord_type { };
7
    coord_type m_coord[3];
8
};
9
template class span_gouraud_rgba : public span_gouraud
10
{
11
  typedef ColorT color_type;
12
  typedef span_gouraud base_type;
13
  typedef typename base_type::coord_type coord_type;
14
public:
15
  void prepare()         {
16
      coord_type coord[3];
17
  }
18
};
19
void the_application() {
20
    typedef span_gouraud_rgba gouraud_span_gen_type;
21
    gouraud_span_gen_type span_gouraud;
22
    span_gouraud.prepare();
23
}

powered by: WebSVN 2.1.0

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