OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
/cp
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
friend30.C
1
// PR c++/14930
2
3
template<typename T> class Point;
4
5
template<> class Point<double> {
6
friend class Plane;
7
double v;
8
};
9
10
struct Plane {
11
double get(const Point<double>& p);
12
};
13
14
double Plane::get(const Point<double> &p) { return p.v; }
15