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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.dg/] [template/] [friend30.C] - Blame information for rev 832

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

Line No. Rev Author Line
1 149 jeremybenn
// PR c++/14930
2
 
3
template class Point;
4
 
5
template<> class Point {
6
  friend class Plane;
7
  double v;
8
};
9
 
10
struct Plane {
11
  double get(const Point& p);
12
};
13
 
14
double Plane::get(const Point &p) { return p.v; }
15
 

powered by: WebSVN 2.1.0

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