OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc1/] [gcc/] [testsuite/] [g++.old-deja/] [g++.pt/] [defarg5.C] - Blame information for rev 338

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 305 jeremybenn
// { dg-do assemble  }
2
 
3
template 
4
class Point {
5
  public:
6
    Point (Point &);
7
    Point & operator = (Point &);
8
};
9
 
10
 
11
 
12
template 
13
class bar{
14
  public:
15
    void foo (Point p = Point());
16
};
17
 
18
 
19
 
20
template <>
21
void bar<2>::foo (Point<2> p) {
22
  const int dim = 2;
23
  Point q = p;
24
}

powered by: WebSVN 2.1.0

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